Interface IRemoteMedia<TIAudioTrack, TIVideoTrack>
Remote media interface.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public interface IRemoteMedia<TIAudioTrack, TIVideoTrack> : IMedia<TIAudioTrack, TIVideoTrack> where TIAudioTrack : IAudioTrack where TIVideoTrack : IVideoTrack
Type Parameters
Name | Description |
---|---|
TIAudioTrack | |
TIVideoTrack |
Properties
AudioSinkOutput
Gets or sets the current audio sink output of the first audio track.
Declaration
SinkOutput AudioSinkOutput { get; set; }
Property Value
Type | Description |
---|---|
SinkOutput |
VideoSinkOutput
Gets or sets the current video sink output of the first video track.
Declaration
SinkOutput VideoSinkOutput { get; set; }
Property Value
Type | Description |
---|---|
SinkOutput |
Methods
ChangeAudioSinkOutput(SinkOutput)
Changes the audio sink output of the first audio track while the media is active.
Declaration
Future<object> ChangeAudioSinkOutput(SinkOutput audioSinkOutput)
Parameters
Type | Name | Description |
---|---|---|
SinkOutput | audioSinkOutput | The audio sink output. |
Returns
Type | Description |
---|---|
Future<System.Object> |
ChangeVideoSinkOutput(SinkOutput)
Changes the video sink output of the first video track while the media is active.
Declaration
Future<object> ChangeVideoSinkOutput(SinkOutput videoSinkOutput)
Parameters
Type | Name | Description |
---|---|---|
SinkOutput | videoSinkOutput | The video sink output. |
Returns
Type | Description |
---|---|
Future<System.Object> |
GetAudioSinkOutputs()
Gets the available audio sink outputs of the first audio track.
Declaration
Future<SinkOutput[]> GetAudioSinkOutputs()
Returns
Type | Description |
---|---|
Future<SinkOutput[]> | A future with an array of audio sink outputs. |
GetVideoSinkOutputs()
Gets the available video sink outputs of the first video track.
Declaration
Future<SinkOutput[]> GetVideoSinkOutputs()
Returns
Type | Description |
---|---|
Future<SinkOutput[]> | A future with an array of video sink outputs. |