seek in webrtcbin pipeline
Sebastian Dröge
sebastian at centricular.com
Tue Feb 5 09:52:37 UTC 2019
On Fri, 2019-02-01 at 16:59 +0100, Jack wrote:
> Hello !
>
> I am able to seek with seek_simple() in a simple pipeline like :
>
> 'filesrc location=17seconds48000D.wav ! wavparse ! audioconvert !
> audioresample ! autoaudiosink'
>
> But how I can seek in this pipeline using webrtcbin ? :
>
> 'webrtcbin name=sendrecv bundle-policy=max-bundle filesrc
> location=17seconds48000D.wav ! wavparse ! opusenc ! rtpopuspay !
> application/x-rtp,media=audio,encoding-name=OPUS,payload=96,clock-
> rate=48000
> ! sendrecv.
>
> Using directly seek_simple() seems to not work.
You need to seek only on the part of the pipeline before the webrtcbin
and ensure that payloader and everything following get a contiguous
segment of data.
--
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190205/357aff65/attachment.sig>
More information about the gstreamer-devel
mailing list