Table of Contents

Class ActionRequiredEventArgs

Namespace
VAST.Media
Assembly
VAST.Common.dll

Provides event arguments for media action required events.

public class ActionRequiredEventArgs
Inheritance
ActionRequiredEventArgs
Inherited Members

Constructors

ActionRequiredEventArgs()

public ActionRequiredEventArgs()

Properties

Action

Gets or sets the required media action.

public MediaAction Action { get; set; }

Property Value

MediaAction

PlaybackRate

Gets or sets the playback rate.

public double PlaybackRate { get; set; }

Property Value

double

Remarks

  • A value of 1 maintains normal playback speed.
  • A value greater than 1 indicates fast forward playback, with possible I-frames only stream if supported by the source.
  • A value in the (0..1) range indicates slow motion playback.
  • A value less than or equal to -1 indicates rewind playback, with possible I-frames only stream if supported by the source.
  • A value of MaxValue causes the source to push samples as quickly as possible, ignoring sample timestamps and playback time.

Position

Gets or sets the desired seek position. Applicable for Play and Seek media actions.

public long Position { get; set; }

Property Value

long

Methods

Equals(ActionRequiredEventArgs)

Determines whether the specified ActionRequiredEventArgs is equal to this instance.

public bool Equals(ActionRequiredEventArgs obj)

Parameters

obj ActionRequiredEventArgs

The ActionRequiredEventArgs to compare with this instance.

Returns

bool

True if the specified object has the same property values as this instance; otherwise, false.