Click or drag to resize
StreamFragment Class
Inheritance Hierarchy
SystemObject
  StreamCoders.Adaptive.SmoothStreamingStreamFragment

Namespace: StreamCoders.Adaptive.SmoothStreaming
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class StreamFragment

The StreamFragment type exposes the following members.

Constructors
  NameDescription
Public methodStreamFragment(XElement, StreamIndex, StreamFragment)
Initializes a new instance of the StreamFragment class
Public methodStreamFragment(StreamIndex, StreamFragment, UInt64, UInt64)
Initializes a new instance of the StreamFragment class
Top
Properties
  NameDescription
Public propertyDuration

The duration of the fragment, specified as a number of increments defined by the implicit or explicit value of the containing StreamElement's TimeScale field. If the Duration field is omitted, its implicit value MUST be computed by the client by subtracting the value of the preceding StreamFragment Time field from the value of this StreamFragment Time field. If no subsequent StreamFragment exists, the implicit value of the FragmentTime field is 0.

Public propertyHash
A hash value uniquely identifying this StreamFragment.
Public propertyIndex
The index of the current fragment.
Public propertyNumber

The ordinal of the StreamFragment in the stream. If Number is specified, its value MUST monotonically increase with the value of the Time field.

Public propertyTime

The time of the fragment, specified as a number of increments defined by the implicit or explicit value of the containing TimeScale field. If the Duration field is omitted, its implicit value MUST be computed by the client by adding the value of the preceding StreamFragment Time field to the value of this StreamFragment Duration field. If no preceding StreamFragment exists, the implicit value of the Time field is 0.

Top
Methods
Fields
  NameDescription
Public fieldRunningNumber
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
See Also