Export (0) Print
Expand All

Playback Controls in TopoEdit

After a topology is resolved, it is queued on the Media Session for playback. TopoEdit provides transport control for changing the state of topology on the Media Session.

The following table shows the menu/toolbar command and the equivalent Media Foundation method for each operation.

Menu/Toolbar CommandMedia Foundation Method

On the Controls menu, click Play.

-or-

Click the Play button on the toolbar (shown in the following image).

Screen shot of the Play button
IMFMediaSession::Start

On the Controls menu, click Stop.

-or-

Click the Stop button on the toolbar (shown in the following image).

Screen shot of the Stop button
IMFMediaSession::Stop

On the Controls menu, click Pause.

-or-

Click the Pause button on the toolbar (shown in the following image).

Screen shot of the Pause button
IMFMediaSession::Pause

 

For information about controlling the playback programmatically by using Media Foundation APIs, see How to Control Presentation States.

Seeking

If the topology is seekable, you can seek by using the seek bar (shown in the following image) to specify a place in the topology's timeline to begin playback.

Screen shot of the seek bar

Note  If the media source is seekable, the Stop command also seeks the topology back to the start of the stream.

Changing the Playback Rate

If the underlying media source for the topology supports multiple playback rates, you can use the rate bar to change the playback rate. To fast-forward a topology on the Media Session, increase the rate by dragging the slider to the right, as shown in the following image.

Screen shot of the rate bar

Note  In this version, TopoEdit only supports positive rates. Reverse playback is not supported.

For information about changing the playback rate programmatically by using Media Foundation APIs, see About Rate Control.

Related topics

TopoEdit Menus
TopoEdit Toolbar
TopoEdit

 

 

Community Additions

ADD
Show:
© 2014 Microsoft