RTP and RTSP for playback and seeking via network

doon don-prog at mail.ru
Sun Jan 3 18:55:33 PST 2016


Sebastian Dröge-3 wrote
> On Di, 2015-12-29 at 20:01 -0800, doon wrote:
>> I want to create a remote media player which will receive media data
>> from the network and playback it. For this aim I can just use
>> tcpclientsink(sender) and tcpserversrc(receiver) but I also need to
>> seek media which not been loaded yet(if user want to seek video to
>> 50% but file loaded on 25% then player should abort current buffering
>> and start buffering from the 50% - just like Youtube), so I think I
>> need to use RTP and RTSP. 
>> Is this a good choice? Because I know that RTSP used for streaming
>> media but not for playback and seeking(I haven't heard about it).
>> What are the alternatives?
>> In advance thanks!
> 
> RTSP also supports seeking.
> 
> In general, you have a lot of options here. You could do this with
> plain HTTP (assuming the container format makes seeking easy), any
> adaptive streaming solution, RTSP, or ...
> 
> Which one to chose depends less on the requirements you mentioned so
> far but more on the network setup (e.g. should it work easily over the
> Internet? How many clients per stream?) and which client software
> should be able to handle the streams.
> 
> -- 
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
> 
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> signature.asc (968 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4675072/0/signature.asc>

Yes, it should work over the Internet. I don't know exactly how many users
will watch one video, but the main idea that it's application not for
streaming, it's precisely online video player like Youtube or Vimeo. So now
I think I need to use HTTP, is this a right option for this purpose?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTP-and-RTSP-for-playback-and-seeking-via-network-tp4675066p4675107.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list