C# Class SIPSorcery.SoftPhone.MediaManager

Afficher le fichier Open project: sipsorcery/sipsorcery Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void

Called when the media channels are no longer required, such as when the VoIP call using it has terminated, and all resources can be shutdown and closed.

EncodedVideoSampleReceived ( byte sample, int length ) : void
EndCall ( ) : void
GetSDP ( bool usePublicIP ) : SDP
GetVideoDevices ( ) : List
MediaManager ( ) : System
NewCall ( ) : void
RemoteAudioSampleReceived ( byte sample, int length ) : void
RunLoopbackTest ( ) : void

This method gets the media manager to pass local media samples to the RTP channel and then receive them back as the remote video stream. This tests that the codec and RTP packetisation are working.

SetRemoteSDP ( SDP remoteSDP ) : void
StartLocalVideo ( VideoMode videoMode ) : void
StopLocalVideo ( ) : void

Private Methods

Méthode Description
AudioChannelSampleReady ( byte sample ) : void

Event handler for processing audio samples from the audio channel.

LocalVideoEncodedSampleReady ( byte sample ) : void

Method Details

Close() public méthode

Called when the media channels are no longer required, such as when the VoIP call using it has terminated, and all resources can be shutdown and closed.
public Close ( ) : void
Résultat void

EncodedVideoSampleReceived() public méthode

public EncodedVideoSampleReceived ( byte sample, int length ) : void
sample byte
length int
Résultat void

EndCall() public méthode

public EndCall ( ) : void
Résultat void

GetSDP() public méthode

public GetSDP ( bool usePublicIP ) : SDP
usePublicIP bool
Résultat SIPSorcery.Net.SDP

GetVideoDevices() public méthode

public GetVideoDevices ( ) : List
Résultat List

MediaManager() public méthode

public MediaManager ( ) : System
Résultat System

NewCall() public méthode

public NewCall ( ) : void
Résultat void

RemoteAudioSampleReceived() public méthode

public RemoteAudioSampleReceived ( byte sample, int length ) : void
sample byte
length int
Résultat void

RunLoopbackTest() public méthode

This method gets the media manager to pass local media samples to the RTP channel and then receive them back as the remote video stream. This tests that the codec and RTP packetisation are working.
public RunLoopbackTest ( ) : void
Résultat void

SetRemoteSDP() public méthode

public SetRemoteSDP ( SDP remoteSDP ) : void
remoteSDP SIPSorcery.Net.SDP
Résultat void

StartLocalVideo() public méthode

public StartLocalVideo ( VideoMode videoMode ) : void
videoMode VideoMode
Résultat void

StopLocalVideo() public méthode

public StopLocalVideo ( ) : void
Résultat void