Our new developer documentation is now available. Please check it out!
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
Name | Type | Description |
---|---|---|
decoder | MediaDecoder | output media to start |
mediaId | UInt16 | raw id to start |
Returns
Type | Description |
---|---|
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
Name | Type | Description |
---|---|---|
decoder | MediaDecoder | output media to start |
Returns
Type | Description |
---|---|
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
Name | Type | Description |
---|---|---|
mediaId | UInt16 | raw id to start |
Returns
Type | Description |
---|---|
Task<RpcResult> | Thunk task that will not run (see |