Ozeki VoIP SDK Class library
PhoneCallAudioReceiver Class
NamespacesOzeki.Media.MediaHandlersPhoneCallAudioReceiver
The media handler for receiving audio data from a call.
Declaration Syntax
C#Visual BasicVisual C++
public class PhoneCallAudioReceiver : AudioHandler, 
	IPhoneCallListener, IPhoneCallAttachable
Public Class PhoneCallAudioReceiver _
	Inherits AudioHandler _
	Implements IPhoneCallListener, IPhoneCallAttachable
public ref class PhoneCallAudioReceiver : public AudioHandler, 
	IPhoneCallListener, IPhoneCallAttachable
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
PhoneCallAudioReceiver()()()()
Creates and instance fo a PhoneCallAudioReceiver.

AttachToCall(ICall)
Attaches the object to a call so it can receive media data from that call. If the [!:PhoneCallMediaReceiver] is already attached to an active call, it will be detached from it first.

CallErrorOccured(Object, VoIPEventArgs<(Of <<'(CallError>)>>))
This will be called whenever an error occures in the call.

CallStateChanged(Object, VoIPEventArgs<(Of <<'(CallState>)>>))
This will be called whenever the call changes its state.

DataReceived(Object, VoIPEventArgs<(Of <<'(AudioData>)>>)) (Overrides AudioHandler.DataReceived(Object, VoIPEventArgs<(Of <<'(AudioData>)>>)).)
DataReceivedFromCall(VoIPMediaData)
Some data is received from the call

DataSent
Event that occurs when the data is ready to send.
(Inherited from AudioHandler.)
Detach()()()()
Detaches the object from the call.

Dispose(Boolean)
Releases the unmanaged resources used by the PhoneCallAudioReceiver and optionally releases the managed resources
(Overrides VoIPMediaHandler.Dispose(Boolean).)
Dispose()()()()
Disposes the object.
(Inherited from VoIPMediaHandler.)
DtmfReceived(Object, VoIPEventArgs<(Of <<'(DtmfInfo>)>>))
This will be called when the DTMF signalling stopped.

DtmfStarted(Object, VoIPEventArgs<(Of <<'(DtmfInfo>)>>))
This will be called when the DTMF signalling started.

Finalize()()()()
(Inherited from VoIPMediaHandler.)
MediaDataReceived(Object, VoIPEventArgs<(Of <<'(VoIPMediaData>)>>))
This will be called when media data received from the call.

MediaDescriptionChanged(Object, VoIPEventArgs<(Of <<'(IEnumerable<(Of <<'(CallMediaFormatInfo>)>>)>)>>))
This will be called whenever the call changes its media description.

MediaFormat
Gets the MediaFormat of the media handler.
(Inherited from AudioHandler.)
MediaFormatChanged
Occurs when the MediaFormat of the media handler has changed.
(Inherited from AudioHandler.)
PlainMediaDataReceived(Object, VoIPEventArgs<(Of <<'(EncodedMediaData>)>>))
This will be called when some encoded media data received from the call.

SendData(AudioData)
Sends media data to the connected media handlers.
(Inherited from AudioHandler.)
Inheritance Hierarchy
Object
VoIPMediaHandler
 AudioHandler
  PhoneCallAudioReceiver

Assembly: VoIPSDK (Module: VoIPSDK) Version: 10.0.6.243