Class RemoteVideoService
The RemoteVideoService allows the local participant to locally start and stop remote participants` video streams transmission.
Inherited Members
Namespace: DolbyIO.Comms.Services
Assembly: DolbyIO.Comms.Sdk.dll
Syntax
public sealed class RemoteVideoService
Methods
| Improve this Doc View SourceSetVideoSinkAsync(VideoTrack, VideoSink)
Sets a video sink to allow passing decoded video frames to an application. The set sink is used in all conferences. An application is responsible for the sink and the SDK does not delete it. The application should set a null sink and ensure that the SetVideoSinkAsync() call returns before deleting the previously set sink object.
Declaration
public async Task SetVideoSinkAsync(VideoTrack track, VideoSink sink)
Parameters
Type | Name | Description |
---|---|---|
VideoTrack | track | The VideoTrack to be attached to. |
VideoSink | sink | The VideoSink used to receive video frames. |
Returns
Type | Description |
---|---|
Task | A Task that represents the asynchronous operation. |