Click or drag to resize
PhoneCallAudioSender Class
Can send audio data to the attached ICall object.
Inheritance Hierarchy
SystemObject
  Ozeki.CommonDisposableClass
    Ozeki.MediaAbstractMediaReceiverAudioData, AudioFormat
      Ozeki.MediaAudioReceiver
        Ozeki.VoIPPhoneCallAudioSender

Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public class PhoneCallAudioSender : AudioReceiver, 
	IPhoneCallAttachable

The PhoneCallAudioSender type exposes the following members.

Constructors
  NameDescription
Public methodPhoneCallAudioSender
Initializes a new instance of the PhoneCallAudioSender class.
Top
Methods
  NameDescription
Public methodAttachToCall
Attaches the object to a call and so it can send media data to the call. If the PhoneCallAudioSender is already attached to a call, it will be detached from it first.
Public methodAudioDataReceived
Override this methode if you want access to the outgoing audio data before passing it to the network layer, for example you can produce specific RTPPacket(s) from it and then attach it(them) to the data by calling SetRtpPackets() on it, in this case the underlaying network layer will use the existing RTPPacket(s) instead of producing some automatically.
Public methodDetach
Detaches the object from the currently active call.
Public methodDispose
Disposes the object.
(Inherited from DisposableClass.)
Protected methodDispose(Boolean)
Disposes the object.
(Overrides DisposableClassDispose(Boolean).)
Protected methodFinalize
(Inherited from DisposableClass.)
Protected methodOnDataReceived (Overrides AbstractMediaReceiverTData, TFormatOnDataReceived(Object, TData).)
Protected methodSenderConnected (Inherited from AudioReceiver.)
Protected methodSenderDisconnected (Inherited from AudioReceiver.)
Protected methodSetReceiveFormats
Sets the audio formats that the audio handler can receive. If no audio format specified, all formats are supported.
(Inherited from AbstractMediaReceiverTData, TFormat.)
Top
Properties
  NameDescription
Protected propertyCall
Public propertyConverterType (Inherited from AudioReceiver.)
Public propertyID (Inherited from DisposableClass.)
Public propertyReceiveFormats
Gets a list of media formats that the media handler can handle. If no media format specified, all formats are supported.
(Inherited from AbstractMediaReceiverTData, TFormat.)
Protected propertySync
Top
Events
Remarks
Inherited from the AudioReceiver class, so it can be connected to other AudioReceiver objects. The class implements the IPhoneCallAttachable interface so it can be attached to a ICall object. When a PhoneCallAudioSender is attached to an ICall object, it will send the available audio data to the attached call. When a connected AudioReceiver sends audio data to the PhoneCallAudioSender, it will send it directly to the call.
See Also