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
Afficher le fichier Open project: avspeed/iConf.NET-SDK-Demos Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode Description
frmMain ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

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

frmMain() public méthode

public frmMain ( ) : System
Résultat System

Property Details

btnCall public_oe property

public System.Windows.Forms.Button btnCall
Résultat System.Windows.Forms.Button

btnHangup public_oe property

public System.Windows.Forms.Button btnHangup
Résultat System.Windows.Forms.Button

btnPopout public_oe property

public System.Windows.Forms.Button btnPopout
Résultat System.Windows.Forms.Button

btnRecord public_oe property

public System.Windows.Forms.Button btnRecord
Résultat System.Windows.Forms.Button

btnSendRequestToShareScreen public_oe property

public System.Windows.Forms.Button btnSendRequestToShareScreen
Résultat System.Windows.Forms.Button

btnStartPreview public_oe property

public System.Windows.Forms.Button btnStartPreview
Résultat System.Windows.Forms.Button

btnStopPreview public_oe property

public System.Windows.Forms.Button btnStopPreview
Résultat System.Windows.Forms.Button

btnStopRecording public_oe property

public System.Windows.Forms.Button btnStopRecording
Résultat System.Windows.Forms.Button

btnStopScreenSharing public_oe property

public System.Windows.Forms.Button btnStopScreenSharing
Résultat System.Windows.Forms.Button

btnTakePic public_oe property

public System.Windows.Forms.Button btnTakePic
Résultat System.Windows.Forms.Button

cbVideoDevices public_oe property

public System.Windows.Forms.ComboBox cbVideoDevices
Résultat System.Windows.Forms.ComboBox

cbVideoPreviewSizes public_oe property

public System.Windows.Forms.ComboBox cbVideoPreviewSizes
Résultat System.Windows.Forms.ComboBox

gbClient public_oe property

public System.Windows.Forms.GroupBox gbClient
Résultat System.Windows.Forms.GroupBox

gbMyVideo public_oe property

public System.Windows.Forms.GroupBox gbMyVideo
Résultat System.Windows.Forms.GroupBox

groupBox1 public_oe property

public System.Windows.Forms.GroupBox groupBox1
Résultat System.Windows.Forms.GroupBox

groupBox3 public_oe property

public System.Windows.Forms.GroupBox groupBox3
Résultat System.Windows.Forms.GroupBox

groupBox5 public_oe property

public System.Windows.Forms.GroupBox groupBox5
Résultat System.Windows.Forms.GroupBox

label1 public_oe property

public System.Windows.Forms.Label label1
Résultat System.Windows.Forms.Label

label10 public_oe property

public System.Windows.Forms.Label label10
Résultat System.Windows.Forms.Label

label2 public_oe property

public System.Windows.Forms.Label label2
Résultat System.Windows.Forms.Label

label6 public_oe property

public System.Windows.Forms.Label label6
Résultat System.Windows.Forms.Label

label7 public_oe property

public System.Windows.Forms.Label label7
Résultat System.Windows.Forms.Label

label8 public_oe property

public System.Windows.Forms.Label label8
Résultat System.Windows.Forms.Label

label9 public_oe property

public System.Windows.Forms.Label label9
Résultat System.Windows.Forms.Label

pnlicc public_oe property

public System.Windows.Forms.Panel pnlicc
Résultat System.Windows.Forms.Panel

pnlics public_oe property

public System.Windows.Forms.Panel pnlics
Résultat System.Windows.Forms.Panel

txtAudioporttcp public_oe property

public System.Windows.Forms.TextBox txtAudioporttcp
Résultat System.Windows.Forms.TextBox

txtIpToCall public_oe property

public System.Windows.Forms.TextBox txtIpToCall
Résultat System.Windows.Forms.TextBox

txtVideoport public_oe property

public System.Windows.Forms.TextBox txtVideoport
Résultat System.Windows.Forms.TextBox

txtaudioportudp public_oe property

public System.Windows.Forms.TextBox txtaudioportudp
Résultat System.Windows.Forms.TextBox

txtoutVideoPort public_oe property

public System.Windows.Forms.TextBox txtoutVideoPort
Résultat System.Windows.Forms.TextBox