Bagikan melalui


MseStreamSource Kelas

Definisi

Mewakili sumber aliran ekstensi sumber media (MSE).

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
Warisan
Object Platform::Object IInspectable MseStreamSource
Atribut
Penerapan

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Keterangan

Riwayat versi

Versi Windows Versi SDK Nilai ditambahkan
1709 16299 LiveSeekableRange

Konstruktor

MseStreamSource()

Membuat instans baru dari MseStreamSource yang tidak diinisialisasi.

Properti

ActiveSourceBuffers

Mendapatkan daftar buffer sumber ekstensi sumber media (MSE) yang aktif di sumber aliran.

Duration

Mendapatkan dan mengatur durasi sumber aliran.

LiveSeekableRange

Mendapatkan atau mengatur rentang waktu yang dapat dicari untuk Ekstensi Sumber Media.

ReadyState

Mendapatkan nilai yang menentukan status siap MseStreamSource.

SourceBuffers

Mendapatkan daftar buffer sumber ekstensi sumber media (MSE) pada sumber aliran.

Metode

AddSourceBuffer(String)

Menambahkan buffer sumber ke sumber aliran.

EndOfStream(MseEndOfStreamStatus)

Menentukan status di akhir aliran.

IsContentTypeSupported(String)

Menentukan apakah tipe isi didukung.

RemoveSourceBuffer(MseSourceBuffer)

Menghapus buffer sumber dari sumber aliran.

Acara

Closed

Terjadi ketika MseStreamSource ditutup.

Ended

Terjadi ketika MseStreamSource berakhir.

Opened

Terjadi ketika MseStreamSource dibuka.

Berlaku untuk

Lihat juga