MediaComposition.GeneratePreviewMediaStreamSource(Int32, Int32) MediaComposition.GeneratePreviewMediaStreamSource(Int32, Int32) MediaComposition.GeneratePreviewMediaStreamSource(Int32, Int32) MediaComposition.GeneratePreviewMediaStreamSource(Int32, Int32) MediaComposition.GeneratePreviewMediaStreamSource(Int32, Int32) Method

Definition

Creates a new MediaStreamSource used to preview the edited media.

public : MediaStreamSource GeneratePreviewMediaStreamSource(int scaledWidth, int scaledHeight)
MediaStreamSource GeneratePreviewMediaStreamSource(int32_t scaledWidth, int32_t scaledHeight) const;
public MediaStreamSource GeneratePreviewMediaStreamSource(Int32 scaledWidth, Int32 scaledHeight)
Public Function GeneratePreviewMediaStreamSource(scaledWidth As Int32, scaledHeight As Int32) As MediaStreamSource
var mediaStreamSource = mediaComposition.generatePreviewMediaStreamSource(scaledWidth, scaledHeight);

Parameters

scaledWidth
Int32 Int32 Int32

The width of the preview media.

scaledHeight
Int32 Int32 Int32

The height of the preview media.

Returns

The new MediaStreamSource used to preview the edited media.