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#
Name | Type | Description |
---|
mediaId | UInt16 | input media id |
encoder | MediaEncoder | input media |
Returns#
Type | Description |
---|
Boolean | true on success or false |
Variants#
public virtual bool SendEncoderAudio(ushort mediaId)
Pop all samples from the input media by id and send them to the server
Parameters#
Name | Type | Description |
---|
mediaId | UInt16 | input media id |
Returns#
Type | Description |
---|
Boolean | true 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#
Returns#
Type | Description |
---|
Boolean | true on success or false |