Dela via


MediaStreamSample.Discontinuous Property

Definition

Gets or sets a value to indicate that the previous MediaStreamSample in the sequence is missing.

public:
 property bool Discontinuous { bool get(); void set(bool value); };
bool Discontinuous();

void Discontinuous(bool value);
public bool Discontinuous { get; set; }
var boolean = mediaStreamSample.discontinuous;
mediaStreamSample.discontinuous = boolean;
Public Property Discontinuous As Boolean

Property Value

Boolean

bool

true if the previous MediaStreamSample in the sequence is missing; otherwise, false. The default value is false.

Remarks

Applications should set this property to true when the previous MediaStreamSample in the sequence is missing. An example of a situation when this can occur is when samples are received over a lossy network connection. The default value is false.

Applies to