You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Set Position

The goal of the setPosition() API is to abort the current data being streamed, flush the AV data pipeline and begin streaming from the specified target position as quickly as possible. Note that Rialto's client may call setPosition() whilst a previous seek is in progress and must handle this gracefully, flushing the pipelines and rendering AV from the most recently requested position as soon as possible.

Note that setPosition() may be called by a client before the call to play() to set the start position of playback (default is 0) but this should be processed in the same way.

setPosition() can be used only in Rialto C++ interface. Rialto GStreamer uses setSourcePosition for seeking.


Set Source Position

Flush



  • No labels