C# Class VideoPhoneDemo.frmMain

iConf SDK Video Phone Demo For questions and support please email us at : [email protected] or visit http://www.avspeed.com
Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: avspeed/iConf.NET-SDK-Demos Class Usage Examples

Public Properties

Property Type Description
btnCall System.Windows.Forms.Button
btnHangup System.Windows.Forms.Button
btnPopout System.Windows.Forms.Button
btnRecord System.Windows.Forms.Button
btnSendRequestToShareScreen System.Windows.Forms.Button
btnStartPreview System.Windows.Forms.Button
btnStopPreview System.Windows.Forms.Button
btnStopRecording System.Windows.Forms.Button
btnStopScreenSharing System.Windows.Forms.Button
btnTakePic System.Windows.Forms.Button
cbVideoDevices System.Windows.Forms.ComboBox
cbVideoPreviewSizes System.Windows.Forms.ComboBox
gbClient System.Windows.Forms.GroupBox
gbMyVideo System.Windows.Forms.GroupBox
groupBox1 System.Windows.Forms.GroupBox
groupBox3 System.Windows.Forms.GroupBox
groupBox5 System.Windows.Forms.GroupBox
label1 System.Windows.Forms.Label
label10 System.Windows.Forms.Label
label2 System.Windows.Forms.Label
label6 System.Windows.Forms.Label
label7 System.Windows.Forms.Label
label8 System.Windows.Forms.Label
label9 System.Windows.Forms.Label
pnlicc System.Windows.Forms.Panel
pnlics System.Windows.Forms.Panel
txtAudioporttcp System.Windows.Forms.TextBox
txtIpToCall System.Windows.Forms.TextBox
txtVideoport System.Windows.Forms.TextBox
txtaudioportudp System.Windows.Forms.TextBox
txtoutVideoPort System.Windows.Forms.TextBox

Public Methods

Method Description
frmMain ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

LoadVideoDevices ( ComboBox cb ) : void

Load list of video capture devices

LoadVideoSizes ( ComboBox cb ) : void

Load list of Video Preview Sizes

RestartPreview ( ) : void

Restarts the preview based on new params

btnCall_Click ( object sender, EventArgs e ) : void
btnHangup_Click ( object sender, EventArgs e ) : void
btnPopout_Click ( object sender, EventArgs e ) : void
btnRecord_Click ( object sender, EventArgs e ) : void
btnSendRequestToShareScreen_Click ( object sender, EventArgs e ) : void
btnStartPreview_Click ( object sender, EventArgs e ) : void
btnStopPreview_Click ( object sender, EventArgs e ) : void
btnStopRecording_Click ( object sender, EventArgs e ) : void
btnStopScreenSharing_Click ( object sender, EventArgs e ) : void
btnTakePic_Click ( object sender, EventArgs e ) : void
cbVideoDevices_SelectedIndexChanged ( object sender, EventArgs e ) : void
cbVideoPreviewSizes_SelectedIndexChanged ( object sender, EventArgs e ) : void
frmMain_FormClosing ( object sender, FormClosingEventArgs e ) : void
frmMain_Load ( object sender, EventArgs e ) : void
icc_ClientDisconnected ( object sender, string ipAddress, int port ) : void
icc_RequestToShareScreen ( string fromIp, string keyToConnect, string invitationMessage ) : void
icc_ScreenSharingStopped ( int sessionid ) : void
ics_ClientDisconnected ( object sender, string ipAddress, int port ) : void
ics_IncomingCall ( object sender, string authenticationData, int socketHandle, string callbackid, string callbackipaddress, int callbackvideoport, int callbackaudiotcpport, int callbackaudiudpport ) : void
ics_ScreenSharingSessionAccepted ( int socketHandle ) : void
ics_ScreenSharingSessionRejected ( int socketHandle, string rejectionMessage ) : void
ics_VideoDeviceSelected ( string deviceName ) : void
ics_VideoPreviewStarted ( int videoWidth, int videoHeight, string deviceName ) : 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

frmMain() public method

public frmMain ( ) : System
return System

Property Details

btnCall public_oe property

public System.Windows.Forms.Button btnCall
return System.Windows.Forms.Button

btnHangup public_oe property

public System.Windows.Forms.Button btnHangup
return System.Windows.Forms.Button

btnPopout public_oe property

public System.Windows.Forms.Button btnPopout
return System.Windows.Forms.Button

btnRecord public_oe property

public System.Windows.Forms.Button btnRecord
return System.Windows.Forms.Button

btnSendRequestToShareScreen public_oe property

public System.Windows.Forms.Button btnSendRequestToShareScreen
return System.Windows.Forms.Button

btnStartPreview public_oe property

public System.Windows.Forms.Button btnStartPreview
return System.Windows.Forms.Button

btnStopPreview public_oe property

public System.Windows.Forms.Button btnStopPreview
return System.Windows.Forms.Button

btnStopRecording public_oe property

public System.Windows.Forms.Button btnStopRecording
return System.Windows.Forms.Button

btnStopScreenSharing public_oe property

public System.Windows.Forms.Button btnStopScreenSharing
return System.Windows.Forms.Button

btnTakePic public_oe property

public System.Windows.Forms.Button btnTakePic
return System.Windows.Forms.Button

cbVideoDevices public_oe property

public System.Windows.Forms.ComboBox cbVideoDevices
return System.Windows.Forms.ComboBox

cbVideoPreviewSizes public_oe property

public System.Windows.Forms.ComboBox cbVideoPreviewSizes
return System.Windows.Forms.ComboBox

gbClient public_oe property

public System.Windows.Forms.GroupBox gbClient
return System.Windows.Forms.GroupBox

gbMyVideo public_oe property

public System.Windows.Forms.GroupBox gbMyVideo
return System.Windows.Forms.GroupBox

groupBox1 public_oe property

public System.Windows.Forms.GroupBox groupBox1
return System.Windows.Forms.GroupBox

groupBox3 public_oe property

public System.Windows.Forms.GroupBox groupBox3
return System.Windows.Forms.GroupBox

groupBox5 public_oe property

public System.Windows.Forms.GroupBox groupBox5
return System.Windows.Forms.GroupBox

label1 public_oe property

public System.Windows.Forms.Label label1
return System.Windows.Forms.Label

label10 public_oe property

public System.Windows.Forms.Label label10
return System.Windows.Forms.Label

label2 public_oe property

public System.Windows.Forms.Label label2
return System.Windows.Forms.Label

label6 public_oe property

public System.Windows.Forms.Label label6
return System.Windows.Forms.Label

label7 public_oe property

public System.Windows.Forms.Label label7
return System.Windows.Forms.Label

label8 public_oe property

public System.Windows.Forms.Label label8
return System.Windows.Forms.Label

label9 public_oe property

public System.Windows.Forms.Label label9
return System.Windows.Forms.Label

pnlicc public_oe property

public System.Windows.Forms.Panel pnlicc
return System.Windows.Forms.Panel

pnlics public_oe property

public System.Windows.Forms.Panel pnlics
return System.Windows.Forms.Panel

txtAudioporttcp public_oe property

public System.Windows.Forms.TextBox txtAudioporttcp
return System.Windows.Forms.TextBox

txtIpToCall public_oe property

public System.Windows.Forms.TextBox txtIpToCall
return System.Windows.Forms.TextBox

txtVideoport public_oe property

public System.Windows.Forms.TextBox txtVideoport
return System.Windows.Forms.TextBox

txtaudioportudp public_oe property

public System.Windows.Forms.TextBox txtaudioportudp
return System.Windows.Forms.TextBox

txtoutVideoPort public_oe property

public System.Windows.Forms.TextBox txtoutVideoPort
return System.Windows.Forms.TextBox