Class RemoteMedia
A collection of remote audio/video tracks.
Inheritance
Implements
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class RemoteMedia : Media<AudioTrack, VideoTrack>, IEquatable<NSObject>, INSObjectProtocol, INativeObject, IDisposable, IRemoteMedia<AudioTrack, VideoTrack>, IMedia<AudioTrack, VideoTrack>
Properties
AudioSink
Gets the first audio sink.
Declaration
public AudioSink AudioSink { get; }
Property Value
Type | Description |
---|---|
Audio |
AudioSinkOutput
Gets or sets the current audio sink output of the first audio track.
Declaration
public SinkOutput AudioSinkOutput { get; set; }
Property Value
Type | Description |
---|---|
Sink |
AudioSinks
Gets the audio sinks.
Declaration
public AudioSink[] AudioSinks { get; }
Property Value
Type | Description |
---|---|
Audio |
MediaSinks
Gets the audio/video sinks.
Declaration
public MediaSinkBase[] MediaSinks { get; }
Property Value
Type | Description |
---|---|
Media |
VideoSink
Gets the first video sink.
Declaration
public VideoSink VideoSink { get; }
Property Value
Type | Description |
---|---|
Video |
VideoSinkOutput
Gets or sets the current video sink output of the first video track.
Declaration
public SinkOutput VideoSinkOutput { get; set; }
Property Value
Type | Description |
---|---|
Sink |
VideoSinks
Gets the video sinks.
Declaration
public VideoSink[] VideoSinks { get; }
Property Value
Type | Description |
---|---|
Video |
Methods
ArrayFromAudioTracks(List<AudioTrack>)
Creates an array of tracks from a list of audio tracks.
Declaration
protected override AudioTrack[] ArrayFromAudioTracks(List<AudioTrack> tracks)
Parameters
Type | Name | Description |
---|---|---|
System. |
tracks | The list of tracks. |
Returns
Type | Description |
---|---|
Audio |
Overrides
ArrayFromVideoTracks(List<VideoTrack>)
Creates an array of tracks from a list of video tracks.
Declaration
protected override VideoTrack[] ArrayFromVideoTracks(List<VideoTrack> tracks)
Parameters
Type | Name | Description |
---|---|---|
System. |
tracks | The list of tracks. |
Returns
Type | Description |
---|---|
Video |
Overrides
ChangeAudioSinkOutput(SinkOutput)
Changes the audio sink output of the first audio track while the media is active.
Declaration
public Future<object> ChangeAudioSinkOutput(SinkOutput audioSinkOutput)
Parameters
Type | Name | Description |
---|---|---|
Sink |
audioSinkOutput | The audio sink output. |
Returns
Type | Description |
---|---|
Future<System. |
ChangeVideoSinkOutput(SinkOutput)
Changes the video sink output of the first video track while the media is active.
Declaration
public Future<object> ChangeVideoSinkOutput(SinkOutput videoSinkOutput)
Parameters
Type | Name | Description |
---|---|---|
Sink |
videoSinkOutput | The video sink output. |
Returns
Type | Description |
---|---|
Future<System. |
CreateAudioTrackCollection()
Creates an audio track collection.
Declaration
protected override List<AudioTrack> CreateAudioTrackCollection()
Returns
Type | Description |
---|---|
System. |
Overrides
CreateVideoTrackCollection()
Creates a video track collection.
Declaration
protected override List<VideoTrack> CreateVideoTrackCollection()
Returns
Type | Description |
---|---|
System. |
Overrides
GetAudioSinkOutputs()
Gets the available audio sink outputs of the first audio track.
Declaration
public Future<SinkOutput[]> GetAudioSinkOutputs()
Returns
Type | Description |
---|---|
Future<Sink |
A future with an array of audio sink outputs. |
GetVideoSinkOutputs()
Gets the available video sink outputs of the first video track.
Declaration
public Future<SinkOutput[]> GetVideoSinkOutputs()
Returns
Type | Description |
---|---|
Future<Sink |
A future with an array of video sink outputs. |