Interface IInteractiveMediaSink
Defines the contract for an interactive media sink that provides media control functions to users and controls the associated source.
public interface IInteractiveMediaSink : IMediaSink, IDisposable
- Inherited Members
Properties
CanPause
Gets or sets a value indicating whether the sink is capable of pausing.
bool CanPause { get; set; }
Property Value
CanSeek
Gets or sets a value indicating whether the sink is capable of seeking.
bool CanSeek { get; set; }
Property Value
Duration
Gets or sets the sink duration, or Zero if not applicable.
TimeSpan Duration { get; set; }
Property Value
IsChangeable
Gets or sets a value indicating whether the sink is changeable, meaning the duration will change over time.
bool IsChangeable { get; set; }
Property Value
Methods
AddStream(NewStreamEventArgs)
Adds or updates a media stream.
void AddStream(NewStreamEventArgs streamDescriptor)
Parameters
streamDescriptorNewStreamEventArgsThe stream descriptor containing stream information. For updates, this can contain only the changed data.
Events
ActionRequired
Occurs when a media action is required from the interactive source.
event EventHandler<ActionRequiredEventArgs> ActionRequired