Click or drag to resize

PhoneCallAudioReceiver Class

The media handler for receiving audio data from a call.
Inheritance Hierarchy
SystemObject
  DisposableClass
    AbstractMediaSenderAudioData, AudioFormat
      AudioSender
        Ozeki.VoIPPhoneCallAudioReceiver

Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntax
public class PhoneCallAudioReceiver : AudioSender, 
	IPhoneCallAttachable

The PhoneCallAudioReceiver type exposes the following members.

Constructors
 NameDescription
Public methodPhoneCallAudioReceiver Initalizes a new instance of the PhoneCallAudioReceiver class.
Top
Properties
 NameDescription
Public propertyID
(Inherited from DisposableClass)
Top
Methods
 NameDescription
Public methodAttachToCall Attaches the object to a call so it can receive media data from that call. If the PhoneCallAudioReceiver is already attached to an active call, it will be detached from it first.
Public methodDataReceivedFromCall Some data is received from the call If you override this method you'll get access to the incoming RTP packets, but keep in mind that you must call the SendMediaData(MediaData mediaData) method before return. You can make decisions based on the RTP packets before sending the audio data to the speaker or other AudioReceiver.
Public methodDetach Detaches the object from the call.
Public methodDispose
(Inherited from DisposableClass)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the PhoneCallAudioReceiver and optionally releases the managed resources
(Overrides DisposableClass.Dispose(Boolean))
Protected methodFinalize
(Inherited from DisposableClass)
Public methodGetAudioFormat
(Overrides AudioSender.GetAudioFormat)
Protected methodReceiverConnected
(Inherited from AudioSender)
Protected methodReceiverDisconnected
(Inherited from AudioSender)
Protected methodSendMediaData
(Inherited from AbstractMediaSenderAudioData, AudioFormat)
Public methodSetPreferredSendFormats
(Inherited from AbstractMediaSenderAudioData, AudioFormat)
Top
Events
 NameDescription
Public eventMediaDataSent
(Inherited from AbstractMediaSenderAudioData, AudioFormat)
Top
See Also