libomtnet
OMT Library for .NET
Loading...
Searching...
No Matches
libomtnet.OMTSendReceiveBase Class Reference
Inheritance diagram for libomtnet.OMTSendReceiveBase:
libomtnet.OMTBase libomtnet.OMTReceive libomtnet.OMTSend

Public Member Functions

bool GetTally (int millisecondsTimeout, ref OMTTally tally)
 Receives the current tally state across all connections to a Sender. If this function times out, the last known tally state will be received.
virtual OMTStatistics GetVideoStatistics ()
virtual OMTStatistics GetAudioStatistics ()
Public Member Functions inherited from libomtnet.OMTBase
void Dispose ()

Protected Member Functions

override void DisposeInternal ()
Protected Member Functions inherited from libomtnet.OMTBase
void SetExiting ()
virtual void Dispose (bool disposing)

Protected Attributes

object videoLock = new object()
object audioLock = new object()
object metaLock = new object()
AutoResetEvent metadataHandle
AutoResetEvent tallyHandle
IntPtr lastMetadata
OMTTally lastTally = new OMTTally()

Additional Inherited Members

Properties inherited from libomtnet.OMTBase
bool Exiting [get]

Member Function Documentation

◆ DisposeInternal()

override void libomtnet.OMTSendReceiveBase.DisposeInternal ( )
protectedvirtual

Reimplemented from libomtnet.OMTBase.

◆ GetAudioStatistics()

virtual OMTStatistics libomtnet.OMTSendReceiveBase.GetAudioStatistics ( )
virtual

Reimplemented in libomtnet.OMTReceive, and libomtnet.OMTSend.

◆ GetTally()

bool libomtnet.OMTSendReceiveBase.GetTally ( int millisecondsTimeout,
ref OMTTally tally )

Receives the current tally state across all connections to a Sender. If this function times out, the last known tally state will be received.

Parameters
millisecondsTimeoutmilliseconds to wait for tally change. set to 0 to receive current tally
tally
Returns

◆ GetVideoStatistics()

virtual OMTStatistics libomtnet.OMTSendReceiveBase.GetVideoStatistics ( )
virtual

Reimplemented in libomtnet.OMTReceive, and libomtnet.OMTSend.

Member Data Documentation

◆ audioLock

object libomtnet.OMTSendReceiveBase.audioLock = new object()
protected

◆ lastMetadata

IntPtr libomtnet.OMTSendReceiveBase.lastMetadata
protected

◆ lastTally

OMTTally libomtnet.OMTSendReceiveBase.lastTally = new OMTTally()
protected

◆ metadataHandle

AutoResetEvent libomtnet.OMTSendReceiveBase.metadataHandle
protected

◆ metaLock

object libomtnet.OMTSendReceiveBase.metaLock = new object()
protected

◆ tallyHandle

AutoResetEvent libomtnet.OMTSendReceiveBase.tallyHandle
protected

◆ videoLock

object libomtnet.OMTSendReceiveBase.videoLock = new object()
protected

The documentation for this class was generated from the following file: