MseStreamSource Klasse

Definition

Stellt eine MSE-Streamquelle (Media Source Extensions) dar.

public ref class MseStreamSource sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MseStreamSource final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class MseStreamSource final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MseStreamSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MseStreamSource
Public NotInheritable Class MseStreamSource
Vererbung
Object Platform::Object IInspectable MseStreamSource
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Versionsverlauf

Windows-Version SDK-Version Mehrwert
1709 16299 LiveSeekableRange

Konstruktoren

MseStreamSource()

Instanziiert eine neue instance einer nicht initialisierten MseStreamSource.

Eigenschaften

ActiveSourceBuffers

Ruft die Liste der MSE-Quellpuffer (Media Source Extensions) ab, die in der Streamquelle aktiv sind.

Duration

Ruft die Dauer der Streamquelle ab und legt sie fest.

LiveSeekableRange

Ruft den suchbaren Zeitbereich für eine Medienquellenerweiterung ab oder legt diese fest.

ReadyState

Ruft einen Wert ab, der den Bereit-Zustand von MseStreamSource angibt.

SourceBuffers

Ruft die Liste der MSE-Quellpuffer (Media Source Extensions) für die Streamquelle ab.

Methoden

AddSourceBuffer(String)

Fügt der Streamquelle einen Quellpuffer hinzu.

EndOfStream(MseEndOfStreamStatus)

Gibt die status am Ende des Datenstroms an.

IsContentTypeSupported(String)

Gibt an, ob ein Inhaltstyp unterstützt wird.

RemoveSourceBuffer(MseSourceBuffer)

Entfernt einen Quellpuffer aus der Streamquelle.

Ereignisse

Closed

Tritt auf, wenn mseStreamSource geschlossen wird.

Ended

Tritt auf, wenn die MseStreamSource beendet wird.

Opened

Tritt auf, wenn mseStreamSource geöffnet wird.

Gilt für:

Weitere Informationen