Delen via


MseStreamSource.AddSourceBuffer(String) Method

Definition

Adds a source buffer to the stream source.

public:
 virtual MseSourceBuffer ^ AddSourceBuffer(Platform::String ^ mimeType) = AddSourceBuffer;
MseSourceBuffer AddSourceBuffer(winrt::hstring const& mimeType);
public MseSourceBuffer AddSourceBuffer(string mimeType);
function addSourceBuffer(mimeType)
Public Function AddSourceBuffer (mimeType As String) As MseSourceBuffer

Parameters

mimeType
String

Platform::String

winrt::hstring

A string that describes the source buffer's MIME type.

Returns

The MseSourceBuffer object for the source buffer added.

Applies to