C# Class WebRTC_Sample.SessionForm

Inheritance: System.Windows.Forms.Form
Show file Open project: PearLtd/iWebRTC Class Usage Examples

Public Methods

Method Description
GetOffer ( ) : WebRTCCommons.CustomAwaiter
GetOfferResponse ( string offer ) : WebRTCCommons.CustomAwaiter
SessionForm ( ) : System
SetStunServers ( bool preserveOrder ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
GetOfferAsync ( WebRTCCommons awaiter ) : void
GetOfferResponseAsync ( WebRTCCommons awaiter, string offer ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

UserForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
inputText_KeyUp ( object sender, KeyEventArgs e ) : void
inputText_TextChanged ( object sender, EventArgs e ) : void
mConnection_OnConnected ( WebRTCConnection sender ) : void
mConnection_OnDataChannel ( WebRTCConnection sender, WebRTCDataChannel DataChannel ) : void
mConnection_OnDisconnected ( WebRTCConnection sender ) : void
mData_OnClosing ( WebRTCDataChannel sender ) : void
mData_OnStringReceiveData ( WebRTCDataChannel sender, string data ) : void
sendButton_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetOffer() public method

public GetOffer ( ) : WebRTCCommons.CustomAwaiter
return WebRTCCommons.CustomAwaiter

GetOfferResponse() public method

public GetOfferResponse ( string offer ) : WebRTCCommons.CustomAwaiter
offer string
return WebRTCCommons.CustomAwaiter

SessionForm() public method

public SessionForm ( ) : System
return System

SetStunServers() public method

public SetStunServers ( bool preserveOrder ) : void
preserveOrder bool
return void