Developer Documentation
Our new developer documentation is now available. Please check it out!

Room.SendEncoderAudio

public virtual bool SendEncoderAudio(ushort mediaId)
public virtual bool SendEncoderAudio(MediaEncoder encoder)

Pop all samples from the input media by id and send them to the server

Parameters

NameTypeDescription
mediaIdUInt16input media id
encoderMediaEncoderinput media

Returns

TypeDescription
Booleantrue on success or false

Variants

SendEncoderAudio(mediaId)

public virtual bool SendEncoderAudio(ushort mediaId)

Pop all samples from the input media by id and send them to the server

Parameters

NameTypeDescription
mediaIdUInt16input media id

Returns

TypeDescription
Booleantrue on success or false

SendEncoderAudio(encoder)

public virtual bool SendEncoderAudio(MediaEncoder encoder)

Pop all samples from the input media and send them to the server

Parameters

NameTypeDescription
encoderMediaEncoderinput media

Returns

TypeDescription
Booleantrue on success or false