프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DefaultCodecSettings | SharpTox.Av.ToxAvCodecSettings |
메소드 | 설명 | |
---|---|---|
AddAvGroupchat ( ) : int |
Creates a new audio groupchat.
|
|
Answer ( int callIndex, SharpTox.Av.ToxAvCodecSettings settings ) : ToxAvError |
Answers a call.
|
|
Call ( int friendNumber, SharpTox.Av.ToxAvCodecSettings settings, int ringingSeconds, int &callIndex ) : ToxAvError |
Creates a new call.
|
|
Cancel ( int callIndex, int friendNumber, string reason ) : ToxAvError |
Cancels a call.
|
|
CapabilitySupported ( int callIndex, ToxAvCapabilities capability ) : bool |
Checks whether a certain capability is supported.
|
|
ChangeSettings ( int callIndex, SharpTox.Av.ToxAvCodecSettings settings ) : ToxAvError |
Changes the type of an in-progress call
|
|
Dispose ( ) : void |
Releases all resources used by this instance of tox.
|
|
GetCallState ( int callIndex ) : ToxAvCallState |
Retrieves the state of a call.
|
|
GetPeerCodecSettings ( int callIndex, int peer ) : SharpTox.Av.ToxAvCodecSettings |
Retrieves a peer's codec settings.
|
|
GetPeerID ( int callIndex, int peer ) : int |
Get the friend_number of peer participating in conversation
|
|
GroupSendAudio ( int groupNumber, short pcm, int perframe, int channels, int sampleRate ) : bool |
Sends an audio frame to a group.
|
|
Hangup ( int callIndex ) : ToxAvError |
Hangs up an in-progress call.
|
|
Iterate ( ) : int |
Runs the loop once in the current thread and returns the next timeout.
|
|
JoinAvGroupchat ( int friendNumber, byte data ) : int |
Joins an audio groupchat.
|
|
KillTransmission ( int callIndex ) : ToxAvError |
Kills the transmission of a call. Should be called at the end of the transmission.
|
|
PrepareAudioFrame ( int callIndex, byte dest, int destMax, short frames, int perframe ) : int |
Encodes an audio frame.
|
|
PrepareTransmission ( int callIndex, bool supportVideo ) : ToxAvError |
Prepares transmission. Must be called before any transmission occurs.
|
|
PrepareVideoFrame ( int callIndex, byte dest, |
||
Reject ( int callIndex, string reason ) : ToxAvError |
Rejects an incoming call.
|
|
SendAudio ( int callIndex, byte frame, int frameSize ) : ToxAvError |
Sends an encoded audio frame.
|
|
SendVideo ( int callIndex, byte frame ) : ToxAvError | ||
Start ( ) : void |
Starts the main toxav_do loop.
|
|
Stop ( ) : void |
Stops the main toxav_do loop if it's running.
|
|
StopCall ( int callIndex ) : ToxAvError |
Stops a call and terminates the transmission without notifying the remote peer.
|
|
ToxAv ( |
Initialises a new instance of toxav.
|
|
ToxAv ( |
Initialises a new instance of toxav.
|
메소드 | 설명 | |
---|---|---|
ClearEventSubscriptions ( ) : void | ||
Dispose ( bool disposing ) : void | ||
DoIterate ( ) : int | ||
Kill ( ) : void | ||
Loop ( ) : void | ||
ThrowIfDisposed ( ) : void |
public Answer ( int callIndex, SharpTox.Av.ToxAvCodecSettings settings ) : ToxAvError | ||
callIndex | int | |
settings | SharpTox.Av.ToxAvCodecSettings | |
리턴 | ToxAvError |
public Call ( int friendNumber, SharpTox.Av.ToxAvCodecSettings settings, int ringingSeconds, int &callIndex ) : ToxAvError | ||
friendNumber | int | |
settings | SharpTox.Av.ToxAvCodecSettings | |
ringingSeconds | int | |
callIndex | int | |
리턴 | ToxAvError |
public Cancel ( int callIndex, int friendNumber, string reason ) : ToxAvError | ||
callIndex | int | |
friendNumber | int | |
reason | string | |
리턴 | ToxAvError |
public CapabilitySupported ( int callIndex, ToxAvCapabilities capability ) : bool | ||
callIndex | int | |
capability | ToxAvCapabilities | |
리턴 | bool |
public ChangeSettings ( int callIndex, SharpTox.Av.ToxAvCodecSettings settings ) : ToxAvError | ||
callIndex | int | |
settings | SharpTox.Av.ToxAvCodecSettings | |
리턴 | ToxAvError |
public GetCallState ( int callIndex ) : ToxAvCallState | ||
callIndex | int | |
리턴 | ToxAvCallState |
public GetPeerCodecSettings ( int callIndex, int peer ) : SharpTox.Av.ToxAvCodecSettings | ||
callIndex | int | |
peer | int | |
리턴 | SharpTox.Av.ToxAvCodecSettings |
public GroupSendAudio ( int groupNumber, short pcm, int perframe, int channels, int sampleRate ) : bool | ||
groupNumber | int | |
pcm | short | |
perframe | int | |
channels | int | |
sampleRate | int | |
리턴 | bool |
public JoinAvGroupchat ( int friendNumber, byte data ) : int | ||
friendNumber | int | |
data | byte | |
리턴 | int |
public KillTransmission ( int callIndex ) : ToxAvError | ||
callIndex | int | |
리턴 | ToxAvError |
public PrepareAudioFrame ( int callIndex, byte dest, int destMax, short frames, int perframe ) : int | ||
callIndex | int | |
dest | byte | |
destMax | int | |
frames | short | |
perframe | int | |
리턴 | int |
public PrepareTransmission ( int callIndex, bool supportVideo ) : ToxAvError | ||
callIndex | int | |
supportVideo | bool | |
리턴 | ToxAvError |
public PrepareVideoFrame ( int callIndex, byte dest, |
||
callIndex | int | |
dest | byte | |
img | ||
리턴 | int |
public Reject ( int callIndex, string reason ) : ToxAvError | ||
callIndex | int | |
reason | string | |
리턴 | ToxAvError |
public SendAudio ( int callIndex, byte frame, int frameSize ) : ToxAvError | ||
callIndex | int | |
frame | byte | |
frameSize | int | |
리턴 | ToxAvError |
public SendVideo ( int callIndex, byte frame ) : ToxAvError | ||
callIndex | int | |
frame | byte | |
리턴 | ToxAvError |
public ToxAv ( |
||
tox | ||
maxCalls | int | |
리턴 | System |
public ToxAv ( |
||
tox | ||
maxCalls | int | |
리턴 | System |