seek over TCP

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

seek over TCP

amitchawla
Hi,

I am trying to implement seek over a TCP connection between two gstreamer pipelines.

sender pipeline:
filesrc blocksize=4194304 location=C:/Users/Downloads/bbc-japan_1080p.mov ! tcpclientsink blocksize=4194304 async=false host=192.168.100.58 port=3000

receiver pipeline:
tcpserversrc host=192.168.100.58 port=3000 blocksize=4194304 ! decodebin name=demux ! autoaudiosink demux. ! imxeglvivsink

In order to implement a flushing seek across the tcp connection, how would I ensure flushing of the data between tcpclientsink and tcpserversrc ? Do I have to make changes in the tcp plugins?

Regards
Amit

Reply | Threaded
Open this post in threaded view
|

Re: seek over TCP

Sebastian Dröge-3
On Wed, 2016-08-03 at 02:31 -0700, amitchawla wrote:

> Hi,
>
> I am trying to implement seek over a TCP connection between two gstreamer
> pipelines.
>
> sender pipeline: 
> filesrc blocksize=4194304 location=C:/Users/Downloads/bbc-japan_1080p.mov !
> tcpclientsink blocksize=4194304 async=false host=192.168.100.58 port=3000 
>
> receiver pipeline: 
> tcpserversrc host=192.168.100.58 port=3000 blocksize=4194304 ! decodebin
> name=demux ! autoaudiosink demux. ! imxeglvivsink 
>
> In order to implement a flushing seek across the tcp connection, how would I
> ensure flushing of the data between tcpclientsink and tcpserversrc ? Do I
> have to make changes in the tcp plugins?
You have to implement an actual protocol on top of TCP that allows you
to signal starts of a segment for example. You can't flush between the
sink and the source, that would require you to instruct all routers on
the way to drop data.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: seek over TCP

amitchawla
Hi,

Thanks for your reply.

Is this support available with RTSP in gstreamer, particularly for my case, where I need the receiver pipeline (i.e. like tcpserversrc) to wait for a connection and then receive and play the movie stream over that connection.

I will appreciate a reply.

Regards
Amit
Reply | Threaded
Open this post in threaded view
|

Re: seek over TCP

Sebastian Dröge-3
On Wed, 2016-08-03 at 05:04 -0700, amitchawla wrote:
> Hi,
>
> Thanks for your reply.
>
> Is this support available with RTSP in gstreamer, particularly for my case,
> where I need the receiver pipeline (i.e. like tcpserversrc) to wait for a
> connection and then receive and play the movie stream over that connection.
>
> I will appreciate a reply.

That's something that you can implement with gst-rtsp-server, yes.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment