C# Класс SIPSorcery.SoftPhone.MediaManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AudioChannelSampleReady ( byte sample ) : void

Event handler for processing audio samples from the audio channel.

LocalVideoEncodedSampleReady ( byte sample ) : void

Описание методов

Close() публичный Метод

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
Результат void

EncodedVideoSampleReceived() публичный Метод

public EncodedVideoSampleReceived ( byte sample, int length ) : void
sample byte
length int
Результат void

EndCall() публичный Метод

public EndCall ( ) : void
Результат void

GetSDP() публичный Метод

public GetSDP ( bool usePublicIP ) : SDP
usePublicIP bool
Результат SIPSorcery.Net.SDP

GetVideoDevices() публичный Метод

public GetVideoDevices ( ) : List
Результат List

MediaManager() публичный Метод

public MediaManager ( ) : System
Результат System

NewCall() публичный Метод

public NewCall ( ) : void
Результат void

RemoteAudioSampleReceived() публичный Метод

public RemoteAudioSampleReceived ( byte sample, int length ) : void
sample byte
length int
Результат void

RunLoopbackTest() публичный Метод

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
Результат void

SetRemoteSDP() публичный Метод

public SetRemoteSDP ( SDP remoteSDP ) : void
remoteSDP SIPSorcery.Net.SDP
Результат void

StartLocalVideo() публичный Метод

public StartLocalVideo ( VideoMode videoMode ) : void
videoMode VideoMode
Результат void

StopLocalVideo() публичный Метод

public StopLocalVideo ( ) : void
Результат void