Method | Description | |
---|---|---|
BeginSending ( AudioSource source ) : void | ||
CreateFake ( string name, AudioFormat format, short frameSize ) : AudioSource | ||
EndSending ( AudioSource source ) : void | ||
GetEnumerator ( ) : IEnumerator |
||
GetIsIgnored ( AudioSource source ) : bool | ||
Receive ( AudioSource source, byte audio ) : void | ||
Request ( string name, AudioFormat format, short frameSize, int targetBitrate ) : void |
Requests a source. The server may not agree with the bitrate you request, do not set up audio based on this target, but on the bitrate of the source you actually receive. |
|
Reset ( ) : void | ||
SendAudioDataAsync ( AudioSource source, TargetType targetType, int targetIds, byte data ) : Task | ||
ToggleIgnore ( AudioSource source ) : bool | ||
ToggleMute ( AudioSource source ) : void | ||
this ( int id ) : AudioSource | ||
this ( IUserInfo user ) : IEnumerable |
Method | Description | |
---|---|---|
ClientSourceHandler ( IGablarskiClientContext context, IClientSourceManager manager ) : System | ||
OnAudioSourceMuted ( |
||
OnAudioSourceStarted ( |
||
OnAudioSourceStopped ( |
||
OnReceivedAudio ( |
||
OnReceivedSource ( |
||
OnReceivedSourceList ( ReceivedListEventArgs |
||
OnSourcesRemoved ( ReceivedListEventArgs |
Method | Description | |
---|---|---|
IEnumerable ( ) : IEnumerator | ||
OnAudioSourceStateChangedMessage ( MessageEventArgs |
||
OnMutedMessage ( int sourceId, bool unmuted ) : void | ||
OnServerAudioDataMessage ( MessageEventArgs |
||
OnSourceListReceivedMessage ( MessageEventArgs |
||
OnSourceMutedMessage ( MessageEventArgs |
||
OnSourceResultMessage ( MessageEventArgs |
||
OnSourcesRemovedMessage ( MessageEventArgs |
public BeginSending ( AudioSource source ) : void | ||
source | AudioSource | |
return | void |
protected ClientSourceHandler ( IGablarskiClientContext context, IClientSourceManager manager ) : System | ||
context | IGablarskiClientContext | |
manager | IClientSourceManager | |
return | System |
public CreateFake ( string name, AudioFormat format, short frameSize ) : AudioSource | ||
name | string | |
format | AudioFormat | |
frameSize | short | |
return | AudioSource |
public EndSending ( AudioSource source ) : void | ||
source | AudioSource | |
return | void |
public GetIsIgnored ( AudioSource source ) : bool | ||
source | AudioSource | |
return | bool |
protected OnAudioSourceMuted ( |
||
e | ||
return | void |
protected OnAudioSourceStarted ( |
||
e | ||
return | void |
protected OnAudioSourceStopped ( |
||
e | ||
return | void |
protected OnReceivedAudio ( |
||
e | ||
return | void |
protected OnReceivedSource ( |
||
e | ||
return | void |
protected OnReceivedSourceList ( ReceivedListEventArgs |
||
e | ReceivedListEventArgs |
|
return | void |
protected OnSourcesRemoved ( ReceivedListEventArgs |
||
e | ReceivedListEventArgs |
|
return | void |
public Receive ( AudioSource source, byte audio ) : void | ||
source | AudioSource | |
audio | byte | |
return | void |
public Request ( string name, AudioFormat format, short frameSize, int targetBitrate ) : void | ||
name | string | The user-local name of the source, used to identify the source later. |
format | AudioFormat | |
frameSize | short | |
targetBitrate | int | The target bitrate to request. |
return | void |
public SendAudioDataAsync ( AudioSource source, TargetType targetType, int targetIds, byte data ) : Task | ||
source | AudioSource | |
targetType | TargetType | |
targetIds | int | |
data | byte | |
return | Task |
public ToggleIgnore ( AudioSource source ) : bool | ||
source | AudioSource | |
return | bool |
public ToggleMute ( AudioSource source ) : void | ||
source | AudioSource | |
return | void |