C# Class Radegast.VoiceConsole

Inheritance: System.Windows.Forms.UserControl
Exibir arquivo Open project: radegastdev/radegast Class Usage Examples

Public Properties

Property Type Description
gateway OpenMetaverse.Voice.VoiceGateway
session OpenMetaverse.Voice.VoiceSession

Private Properties

Property Type Description
FindParticipantItem System.Windows.Forms.ListViewItem
MainForm_Load void
RegisterClientEvents void
Start void
Stop void
UnregisterClientEvents void
VoiceConsole_Load void
btnMuteAll_Click void
btnUnmuteAll_Click void
chkVoiceEnable_Click void
micDevice_SelectedIndexChanged void
micLevel_ValueChanged void
micMute_CheckedChanged void
netcom_ClientLoginStatus void
participants_MouseUp void
spkrDevice_SelectedIndexChanged void
spkrLevel_ValueChanged void

Public Methods

Method Description
LoadConfigVolume ( ) : void
LoadMicDevices ( List available, string current ) : void
LoadSpkrDevices ( List available, string current ) : void
Names_NameUpdated ( object sender, OpenMetaverse.UUIDNameReplyEventArgs e ) : void
OnMouseDown ( object sender, MouseEventArgs e ) : void
OnMouseUp ( object sender, MouseEventArgs e ) : void
OnMuteClick ( object sender, EventArgs e ) : void
OnUnMuteClick ( object sender, EventArgs e ) : void
RadegastContextMenuStrip_OnContentMenuOpened ( object sender, Radegast.RadegastContextMenuStrip e ) : void

Open context menu for voice items

SetProgress ( VoiceGateway s ) : void
VoiceConsole ( Radegast.RadegastInstance instance ) : System
VoiceConsole_Disposed ( object sender, EventArgs e ) : void
gateway_OnAuxGetCaptureDevicesResponse ( object sender, VoiceGateway e ) : void
gateway_OnAuxGetRenderDevicesResponse ( object sender, VoiceGateway e ) : void
gateway_OnSessionCreate ( object sender, EventArgs e ) : void
gateway_OnSessionRemove ( object sender, EventArgs e ) : void
gateway_OnVoiceConnectionChange ( VoiceGateway state ) : void
session_OnParticipantAdded ( object sender, EventArgs e ) : void
session_OnParticipantRemoved ( object sender, EventArgs e ) : void
session_OnParticipantUpdate ( object sender, EventArgs e ) : void

Private Methods

Method Description
FindParticipantItem ( OpenMetaverse.Voice.VoiceParticipant p ) : System.Windows.Forms.ListViewItem
MainForm_Load ( object sender, EventArgs e ) : void
RegisterClientEvents ( ) : void
Start ( ) : void
Stop ( ) : void
UnregisterClientEvents ( ) : void
VoiceConsole_Load ( object sender, EventArgs e ) : void
btnMuteAll_Click ( object sender, EventArgs e ) : void

Mute all participants

btnUnmuteAll_Click ( object sender, EventArgs e ) : void

UnMute all participants

chkVoiceEnable_Click ( object sender, EventArgs e ) : void

Start and stop the voice functions.

micDevice_SelectedIndexChanged ( object sender, EventArgs e ) : void
micLevel_ValueChanged ( object sender, EventArgs e ) : void
micMute_CheckedChanged ( object sender, EventArgs e ) : void
netcom_ClientLoginStatus ( object sender, OpenMetaverse.LoginProgressEventArgs e ) : void
participants_MouseUp ( object sender, MouseEventArgs e ) : void

Right-clicks on participants beings up Mute, etc menu

spkrDevice_SelectedIndexChanged ( object sender, EventArgs e ) : void
spkrLevel_ValueChanged ( object sender, EventArgs e ) : void

Method Details

LoadConfigVolume() public method

public LoadConfigVolume ( ) : void
return void

LoadMicDevices() public method

public LoadMicDevices ( List available, string current ) : void
available List
current string
return void

LoadSpkrDevices() public method

public LoadSpkrDevices ( List available, string current ) : void
available List
current string
return void

Names_NameUpdated() public method

public Names_NameUpdated ( object sender, OpenMetaverse.UUIDNameReplyEventArgs e ) : void
sender object
e OpenMetaverse.UUIDNameReplyEventArgs
return void

OnMouseDown() public method

public OnMouseDown ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

OnMouseUp() public method

public OnMouseUp ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

OnMuteClick() public method

public OnMuteClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnUnMuteClick() public method

public OnUnMuteClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

RadegastContextMenuStrip_OnContentMenuOpened() public method

Open context menu for voice items
public RadegastContextMenuStrip_OnContentMenuOpened ( object sender, Radegast.RadegastContextMenuStrip e ) : void
sender object
e Radegast.RadegastContextMenuStrip
return void

SetProgress() public method

public SetProgress ( VoiceGateway s ) : void
s OpenMetaverse.Voice.VoiceGateway
return void

VoiceConsole() public method

public VoiceConsole ( Radegast.RadegastInstance instance ) : System
instance Radegast.RadegastInstance
return System

VoiceConsole_Disposed() public method

public VoiceConsole_Disposed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

gateway_OnAuxGetCaptureDevicesResponse() public method

public gateway_OnAuxGetCaptureDevicesResponse ( object sender, VoiceGateway e ) : void
sender object
e OpenMetaverse.Voice.VoiceGateway
return void

gateway_OnAuxGetRenderDevicesResponse() public method

public gateway_OnAuxGetRenderDevicesResponse ( object sender, VoiceGateway e ) : void
sender object
e OpenMetaverse.Voice.VoiceGateway
return void

gateway_OnSessionCreate() public method

public gateway_OnSessionCreate ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

gateway_OnSessionRemove() public method

public gateway_OnSessionRemove ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

gateway_OnVoiceConnectionChange() public method

public gateway_OnVoiceConnectionChange ( VoiceGateway state ) : void
state OpenMetaverse.Voice.VoiceGateway
return void

session_OnParticipantAdded() public method

public session_OnParticipantAdded ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

session_OnParticipantRemoved() public method

public session_OnParticipantRemoved ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

session_OnParticipantUpdate() public method

public session_OnParticipantUpdate ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

gateway public_oe property

public VoiceGateway,OpenMetaverse.Voice gateway
return OpenMetaverse.Voice.VoiceGateway

session public_oe property

public VoiceSession,OpenMetaverse.Voice session
return OpenMetaverse.Voice.VoiceSession