Developer Documentation

Room.ResumeMedia

public virtual Task<RpcResult> ResumeMedia(MediaDecoder decoder)
public virtual Task<RpcResult> ResumeMedia(ushort mediaId)

Send a "ResumeMedia" to the server to start a stopped decoder for output.

Info

Be aware that the task is created for resolving Msgpack request/response result as Room. Unless handled correctly should not be awaited by the corresponding context.

Parameters

NameTypeDescription
decoderMediaDecoderoutput media to start
mediaIdUInt16raw id to start

Returns

TypeDescription
Task<RpcResult>Thunk task that will not run (see )

Variants

ResumeMedia(decoder)

public virtual Task<RpcResult> ResumeMedia(MediaDecoder decoder)

Send a "ResumeMedia" to the server to start a stopped decoder for output.

Warning

Be aware that the task is created for resolving Msgpack request/response result as Room. Unless handled correctly should not be awaited by the corresponding context.

Parameters

NameTypeDescription
decoderMediaDecoderoutput media to start

Returns

TypeDescription
Task<RpcResult>Thunk task that will not run (see )

ResumeMedia(mediaId)

public virtual Task<RpcResult> ResumeMedia(ushort mediaId)

Send a "ResumeMedia" to the server to start a stopped decoder for output.

Warning

Be aware that the task is created for resolving Msgpack request/response result as Room. Unless handled correctly should not be awaited by the corresponding context.

Parameters

NameTypeDescription
mediaIdUInt16raw id to start

Returns

TypeDescription
Task<RpcResult>Thunk task that will not run (see )