C# 클래스 OpenMetaverse.Utilities.VoiceManager

파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BlockingTimeout int
Client OpenMetaverse.GridClient
Enabled bool

보호된 프로퍼티들

프로퍼티 타입 설명
Events AutoResetEvent>.Dictionary
_CaptureDevices List
_ChannelMap string>.Dictionary
_CommandCookie int
_DaemonPipe OpenMetaverse.Voice.TCPPipe
_RenderDevices List
_Status VoiceStatus
_TuningSoundFile string

공개 메소드들

메소드 설명
CaptureDevices ( ) : List
CreateConnector ( string _accountManagementServer, int &status ) : string
CurrentCaptureDevices ( ) : List
CurrentRenderDevices ( ) : List
DaemonJoin ( ) : bool
DaemonJoin ( string address, int port ) : bool
GetChannelMap ( ) : string>.Dictionary
InitiateShutdown ( string connectorHandle, int &status ) : string
IsDaemonRunning ( ) : bool
Login ( string accountName, string password, string connectorHandle, int &status ) : string
Logout ( string accountHandle, int &status ) : void
RenderDevices ( ) : List
RequestCaptureDevices ( ) : int
RequestCreateConnector ( string _voiceServer, string _proxyServer, bool _logEnabled, string _logNamePrefix, string _logNameSuffix, int _logLevel ) : int
RequestInitiateShutdown ( string connectorHandle ) : int
RequestLogin ( string accountName, string password, string accountURI, string connectorHandle, int _participantPropertyFrequency ) : int
RequestLogout ( string accountHandle ) : int
RequestMuteLocalMic ( bool enabled ) : int
RequestMuteLocalSpeaker ( bool enabled ) : int
RequestParcelVoiceInfo ( ) : bool
RequestProvisionAccount ( ) : bool
RequestRenderAudioStart ( string fileName, bool loop ) : int

Does not appear to be working

RequestRenderAudioStop ( ) : int
RequestRenderDevices ( ) : int
RequestSessionConnector ( string SessionHandle ) : int
RequestSessionCreate ( string AccountHandle, string URI, string Name, string Password, bool JoinAudio, bool JoinText, string PasswordHashAlgorithm, int type ) : int
RequestSessionTerminate ( string SessionHandle ) : int
RequestSet3DPosition ( string SessionHandle, VoicePosition SpeakerPosition, VoicePosition ListenerPosition ) : int

Set the combined speaking and listening position in 3D space. There appears to be no response to this request.

RequestSetCaptureVolume ( int volume ) : int
RequestSetLocalMicVolume ( int volume ) : int
RequestSetLocalSpeakerVolume ( int volume ) : int
RequestSetRenderDevice ( string deviceName ) : int
RequestSetSpeakerVolume ( int volume ) : int
RequestStartTuningMode ( int duration ) : int
RequestStopTuningMode ( ) : int
SIPURIFromVoiceAccount ( string account, string voiceServer ) : string
SessionCreate ( string AccountHandle, string URI, string Name, string Password, bool JoinAudio, bool JoinText, string PasswordHashAlgorithm, int &status ) : string
StartDaemon ( ) : bool
StartDaemon ( string _exePath, string _args ) : bool
StopDaemon ( ) : void
UUIDFromVoiceAccount ( string accountName ) : UUID
VoiceAccountFromUUID ( UUID id ) : string
VoiceManager ( GridClient client ) : System
VoiceManager_OnSessionCreated ( int cookie, int statusCode, string statusString, string sessionHandle ) : void

보호된 메소드들

메소드 설명
RegisterCallbacks ( ) : void

비공개 메소드들

메소드 설명
GetAttributeFromID ( XmlNode _node, string _id ) : string
MessagePerse ( string _message ) : void
ParcelVoiceInfoResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD response, Exception error ) : void
ParseResultNode ( XmlNode _node ) : void
ProcessEvent ( ) : void
ProvisionCapsResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD response, Exception error ) : void
RequestVoiceInternal ( string me, OpenMetaverse.Capabilities.CapsClient callback, string capsName ) : bool
RequiredVoiceVersionEventHandler ( string message, OSD osd, Simulator simulator ) : void
VoiceManager_OnCaptureDevices ( int cookie, int statusCode, string statusString, string currentDevice ) : void
VoiceManager_OnConnectorCreated ( int cookie, int statusCode, string versionID, string statusString, string connectorHandle ) : void
VoiceManager_OnLogin ( int cookie, int statusCode, string statusString, string accountHandle ) : void
VoiceManager_OnRenderDevices ( int cookie, int statusCode, string statusString, string currentDevice ) : void
_DaemonPipe_OnDisconnected ( SocketException se ) : void
_DaemonPipe_OnReceiveLine ( string line ) : void
process_Exited ( object sender, EventArgs e ) : void

메소드 상세

CaptureDevices() 공개 메소드

public CaptureDevices ( ) : List
리턴 List

CreateConnector() 공개 메소드

public CreateConnector ( string _accountManagementServer, int &status ) : string
_accountManagementServer string
status int
리턴 string

CurrentCaptureDevices() 공개 메소드

public CurrentCaptureDevices ( ) : List
리턴 List

CurrentRenderDevices() 공개 메소드

public CurrentRenderDevices ( ) : List
리턴 List

DaemonJoin() 공개 메소드

public DaemonJoin ( ) : bool
리턴 bool

DaemonJoin() 공개 메소드

public DaemonJoin ( string address, int port ) : bool
address string
port int
리턴 bool

GetChannelMap() 공개 메소드

public GetChannelMap ( ) : string>.Dictionary
리턴 string>.Dictionary

InitiateShutdown() 공개 메소드

public InitiateShutdown ( string connectorHandle, int &status ) : string
connectorHandle string
status int
리턴 string

IsDaemonRunning() 공개 메소드

public IsDaemonRunning ( ) : bool
리턴 bool

Login() 공개 메소드

public Login ( string accountName, string password, string connectorHandle, int &status ) : string
accountName string
password string
connectorHandle string
status int
리턴 string

Logout() 공개 메소드

public Logout ( string accountHandle, int &status ) : void
accountHandle string
status int
리턴 void

RegisterCallbacks() 보호된 메소드

protected RegisterCallbacks ( ) : void
리턴 void

RenderDevices() 공개 메소드

public RenderDevices ( ) : List
리턴 List

RequestCaptureDevices() 공개 메소드

public RequestCaptureDevices ( ) : int
리턴 int

RequestCreateConnector() 공개 메소드

public RequestCreateConnector ( string _voiceServer, string _proxyServer, bool _logEnabled, string _logNamePrefix, string _logNameSuffix, int _logLevel ) : int
_voiceServer string
_proxyServer string
_logEnabled bool
_logNamePrefix string
_logNameSuffix string
_logLevel int
리턴 int

RequestInitiateShutdown() 공개 메소드

public RequestInitiateShutdown ( string connectorHandle ) : int
connectorHandle string
리턴 int

RequestLogin() 공개 메소드

public RequestLogin ( string accountName, string password, string accountURI, string connectorHandle, int _participantPropertyFrequency ) : int
accountName string
password string
accountURI string
connectorHandle string
_participantPropertyFrequency int
리턴 int

RequestLogout() 공개 메소드

public RequestLogout ( string accountHandle ) : int
accountHandle string
리턴 int

RequestMuteLocalMic() 공개 메소드

public RequestMuteLocalMic ( bool enabled ) : int
enabled bool
리턴 int

RequestMuteLocalSpeaker() 공개 메소드

public RequestMuteLocalSpeaker ( bool enabled ) : int
enabled bool
리턴 int

RequestParcelVoiceInfo() 공개 메소드

public RequestParcelVoiceInfo ( ) : bool
리턴 bool

RequestProvisionAccount() 공개 메소드

public RequestProvisionAccount ( ) : bool
리턴 bool

RequestRenderAudioStart() 공개 메소드

Does not appear to be working
public RequestRenderAudioStart ( string fileName, bool loop ) : int
fileName string
loop bool
리턴 int

RequestRenderAudioStop() 공개 메소드

public RequestRenderAudioStop ( ) : int
리턴 int

RequestRenderDevices() 공개 메소드

public RequestRenderDevices ( ) : int
리턴 int

RequestSessionConnector() 공개 메소드

public RequestSessionConnector ( string SessionHandle ) : int
SessionHandle string
리턴 int

RequestSessionCreate() 공개 메소드

public RequestSessionCreate ( string AccountHandle, string URI, string Name, string Password, bool JoinAudio, bool JoinText, string PasswordHashAlgorithm, int type ) : int
AccountHandle string
URI string
Name string
Password string
JoinAudio bool
JoinText bool
PasswordHashAlgorithm string
type int
리턴 int

RequestSessionTerminate() 공개 메소드

public RequestSessionTerminate ( string SessionHandle ) : int
SessionHandle string
리턴 int

RequestSet3DPosition() 공개 메소드

Set the combined speaking and listening position in 3D space. There appears to be no response to this request.
public RequestSet3DPosition ( string SessionHandle, VoicePosition SpeakerPosition, VoicePosition ListenerPosition ) : int
SessionHandle string Handle returned from successful Session �create�Erequest or a SessionNewEvent
SpeakerPosition VoicePosition Speaking position
ListenerPosition VoicePosition Listening position
리턴 int

RequestSetCaptureVolume() 공개 메소드

public RequestSetCaptureVolume ( int volume ) : int
volume int
리턴 int

RequestSetLocalMicVolume() 공개 메소드

public RequestSetLocalMicVolume ( int volume ) : int
volume int
리턴 int

RequestSetLocalSpeakerVolume() 공개 메소드

public RequestSetLocalSpeakerVolume ( int volume ) : int
volume int
리턴 int

RequestSetRenderDevice() 공개 메소드

public RequestSetRenderDevice ( string deviceName ) : int
deviceName string
리턴 int

RequestSetSpeakerVolume() 공개 메소드

public RequestSetSpeakerVolume ( int volume ) : int
volume int
리턴 int

RequestStartTuningMode() 공개 메소드

public RequestStartTuningMode ( int duration ) : int
duration int
리턴 int

RequestStopTuningMode() 공개 메소드

public RequestStopTuningMode ( ) : int
리턴 int

SIPURIFromVoiceAccount() 공개 메소드

public SIPURIFromVoiceAccount ( string account, string voiceServer ) : string
account string
voiceServer string
리턴 string

SessionCreate() 공개 메소드

public SessionCreate ( string AccountHandle, string URI, string Name, string Password, bool JoinAudio, bool JoinText, string PasswordHashAlgorithm, int &status ) : string
AccountHandle string
URI string
Name string
Password string
JoinAudio bool
JoinText bool
PasswordHashAlgorithm string
status int
리턴 string

StartDaemon() 공개 메소드

public StartDaemon ( ) : bool
리턴 bool

StartDaemon() 공개 메소드

public StartDaemon ( string _exePath, string _args ) : bool
_exePath string
_args string
리턴 bool

StopDaemon() 공개 메소드

public StopDaemon ( ) : void
리턴 void

UUIDFromVoiceAccount() 공개 메소드

public UUIDFromVoiceAccount ( string accountName ) : UUID
accountName string
리턴 UUID

VoiceAccountFromUUID() 공개 메소드

public VoiceAccountFromUUID ( UUID id ) : string
id UUID
리턴 string

VoiceManager() 공개 메소드

public VoiceManager ( GridClient client ) : System
client OpenMetaverse.GridClient
리턴 System

VoiceManager_OnSessionCreated() 공개 메소드

public VoiceManager_OnSessionCreated ( int cookie, int statusCode, string statusString, string sessionHandle ) : void
cookie int
statusCode int
statusString string
sessionHandle string
리턴 void

프로퍼티 상세

BlockingTimeout 공개적으로 프로퍼티

Amount of time to wait for the voice daemon to respond. The value needs to stay relatively high because some of the calls require the voice daemon to make remote queries before replying
public int BlockingTimeout
리턴 int

Client 공개적으로 프로퍼티

public GridClient,OpenMetaverse Client
리턴 OpenMetaverse.GridClient

Enabled 공개적으로 프로퍼티

public bool Enabled
리턴 bool

Events 보호되어 있는 프로퍼티

protected Dictionary Events
리턴 AutoResetEvent>.Dictionary

_CaptureDevices 보호되어 있는 프로퍼티

protected List _CaptureDevices
리턴 List

_ChannelMap 보호되어 있는 프로퍼티

protected Dictionary _ChannelMap
리턴 string>.Dictionary

_CommandCookie 보호되어 있는 프로퍼티

protected int _CommandCookie
리턴 int

_DaemonPipe 보호되어 있는 프로퍼티

protected TCPPipe,OpenMetaverse.Voice _DaemonPipe
리턴 OpenMetaverse.Voice.TCPPipe

_RenderDevices 보호되어 있는 프로퍼티

protected List _RenderDevices
리턴 List

_Status 보호되어 있는 프로퍼티

protected VoiceStatus _Status
리턴 VoiceStatus

_TuningSoundFile 보호되어 있는 프로퍼티

protected string _TuningSoundFile
리턴 string