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

Наследование: System.Windows.Window
Показать файл Открыть проект

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

Метод Описание
SoftPhone ( ) : System

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

Метод Описание
AnswerButton_Click ( object sender, System e ) : void

The button to answer an incoming call.

ByeButton_Click ( object sender, System e ) : void

The button to hang up an outgoing call.

CallButton_Click ( object sender, RoutedEventArgs e ) : void

The button to place an outgoing call.

CancelButton_Click ( object sender, System e ) : void

The button to cancel an outgoing call.

HangupButton_Click ( object sender, System e ) : void

The button to hang up an incoming call.

HideLocalVideoError ( object sender, System e ) : void

Event handler for clicking on the local video error status text box.

HideRemoteVideoError ( object sender, System e ) : void

Event handler for clicking on the remote video error status text box.

LoadVideoDevices ( ) : void

Retrieves a list of the available video devices, their resolutions and pixel formats.

LocalAudioSampleReady ( byte sample ) : void
LocalVideoError ( string error ) : void
LocalVideoSampleReady ( byte sample, int width, int height ) : void
OnWindowLoaded ( object sender, System e ) : void
RedirectButton_Click ( object sender, System e ) : void

The button to redirect an incoming call.

RejectButton_Click ( object sender, System e ) : void

The button to reject an incoming call.

RemoteVideoSampleReady ( byte sample, int width, int height ) : void
ResetToCallStartState ( ) : void

Reset the UI elements to their initial state at the end of a call.

SIPCallAnswered ( ) : void

Set up the UI to present options for an establisehd SIP call, i.e. hide the cancel button and display they hangup button.

SIPCallIncoming ( ) : void

Set up the UI to present the options for an incoming SIP call.

SetStatusText ( System.Windows.Controls.TextBlock textBlock, string text ) : void

Set the text on one of the status text blocks. Status messages are used to indicate how the call is progressing or events related to it.

SetVisibility ( UIElement element, Visibility visibility ) : void

Set the visibility on a UI element.

StartLocalVideo ( object sender, System e ) : void
StopLocalVideo ( object sender, System e ) : void
VideoDeviceChanged ( object sender, System e ) : void
Window_Closing ( object sender, System e ) : void

Application closing, shutdown the SIP, Google Voice and STUN clients.

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

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

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