MediaBufferT Class |
Namespace: StreamCoders
The MediaBufferT type exposes the following members.
Name | Description | |
---|---|---|
MediaBufferT |
Default constructor.
| |
MediaBufferT(Int32) |
Creates a buffer of type T with certain size.
| |
MediaBufferT(T) |
Creates a MediaBuffer by passing an external array. This buffer will not be associated
with a LockableRingBuffer.
| |
MediaBufferT(OffsetBufferT) |
Constructs a MediaBuffer from an OffsetBuffer. This buffer will not be associated with a
LockableRingBuffer.
| |
MediaBufferT(T, Int32, Int32) |
Creates a MediaBuffer by passing an external array. This buffer will not be associated
with a LockableRingBuffer.
| |
MediaBufferT(T, TimeSpan, TimeSpan) |
Creates a MediaBuffer by passing an external array. This buffer will not be associated
with a LockableRingBuffer.
| |
MediaBufferT(OffsetBufferT, TimeSpan, TimeSpan) |
Constructs a MediaBuffer from an OffsetBuffer. This buffer will not be associated with a
LockableRingBuffer.
| |
MediaBufferT(T, Int32, Int32, Double, Double) |
Creates a MediaBuffer by passing an external array. This buffer will not be associated
with a LockableRingBuffer.
| |
MediaBufferT(T, Int32, Int32, TimeSpan, TimeSpan) |
Creates a MediaBuffer by passing an external array. This buffer will not be associated
with a LockableRingBuffer.
|
Name | Description | |
---|---|---|
CreationTime |
Time of buffer creation.
| |
Duration |
Media time (Duration). Effectively EndTime - StartTime | |
ProcessingTime |
Name | Description | |
---|---|---|
CopyMetaDataFrom |
Copies meta data from a source MediaBuffer. This includes: StartTime, EndTime, IsKeyframe,
PackageType, ExtendedInfo. Not included: OffsetBuffer.
| |
DeepCopy |
Creates a deep copy of MediaBuffer by cloning the OffsetBuffer and meta data. Exceptions
are: ExtendedInfo and when a MediaBuffer is locked, then the lock state will remain
unlocked (unacquired).
| |
ResetVariables |
Resets StartTime, EndTime, Duration, Buffer.Offset to 0.
| |
ToString |
Convert this instance into a string representation.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Buffer |
Holds elements relevant to MediaBuffer.
| |
EndTime |
Media time (End). In most cases this represents the presentation time + duration.
| |
ExtendedInfo |
Is used to store additional/custom information within the buffer.
| |
IsDiscontinuity |
Indicates that there was a discontinuity in the stream. This flag is passed to decoders.
| |
IsKeyFrame |
true if this instance is key frame.
| |
PackageType |
Describes the content of this buffer.
| |
StartTime |
Media time (Start). In most cases this represents the presentation time.
|
Name | Description | |
---|---|---|
Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) | |
Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |