C# 클래스 SIPSorcery.SoftPhone.MediaManager

파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 메소드들

메소드 설명
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