Click or drag to resize

PhoneCallAudioSender Class

Can send audio data to the attached ICall object.
Inheritance Hierarchy
SystemObject
  DisposableClass
    AbstractMediaReceiverAudioData, AudioFormat
      AudioReceiver
        Ozeki.VoIPPhoneCallAudioSender

Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
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
Properties
 NameDescription
Protected propertyCall 
Public propertyConverterType
(Inherited from AudioReceiver)
Public propertyID
(Inherited from DisposableClass)
Public propertyReceiveFormats
(Inherited from AbstractMediaReceiverAudioData, AudioFormat)
Protected propertySync 
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
(Inherited from DisposableClass)
Protected methodDispose(Boolean) Disposes the object.
(Overrides DisposableClass.Dispose(Boolean))
Protected methodFinalize
(Inherited from DisposableClass)
Protected methodOnDataReceived
(Overrides AbstractMediaReceiver.OnDataReceived(Object, UTP))
Protected methodSenderConnected
(Inherited from AudioReceiver)
Protected methodSenderDisconnected
(Inherited from AudioReceiver)
Protected methodSetReceiveFormats
(Inherited from AbstractMediaReceiverAudioData, AudioFormat)
Top
Events
 NameDescription
Public eventReceiveFormatsChanged
(Inherited from AbstractMediaReceiverAudioData, AudioFormat)
Top
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