Range header

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

Range header

Jaroslav O
Hello,
I’m using gstreamer in Android app for getting videos via RTSP protocol. What I can’t find, is how if it’s possible to set “Range” header while sending PLAY command?
Is I understand correctly, it’s described in RFC 7826 – https://tools.ietf.org/html/rfc7826#page-162
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Range header

Edward Hervey-4
Hi,

  Just issue a seek event with the proper start/stop values. The
rtspsrc element will properly translate/send those to the server.

   Edward


On Tue, 2017-06-06 at 09:49 +0300, Jaroslav O wrote:

> Hello,
> I’m using gstreamer in Android app for getting videos via RTSP
> protocol. What I can’t find, is how if it’s possible to set “Range”
> header while sending PLAY command?
> Is I understand correctly, it’s described in RFC 7826 – https://tools
> .ietf.org/html/rfc7826#page-162
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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

Re: Range header

Jaroslav O
In reply to this post by Jaroslav O
Hi,

Tanks for a suggestions, but the problem is that my stream is seen as non seekable:
title: (null) duration: 99:99:99.999999999 seekable: no live: yes container: (null) image_sample 0x0

If you add that Range stuff into PLAY command it works as intended - starts video from the selected time (that’s how it is done on our iOS app). 


On 6 Jun 2017, at 09:49, Jaroslav O <[hidden email]> wrote:

Hello,
I’m using gstreamer in Android app for getting videos via RTSP protocol. What I can’t find, is how if it’s possible to set “Range” header while sending PLAY command?
Is I understand correctly, it’s described in RFC 7826 – https://tools.ietf.org/html/rfc7826#page-162


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Range header

emreoner
Hi,

Any update on this post, I need to send range header like
"clock=20200706T120000Z-" .

Thank u.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Range header

emreoner
In reply to this post by Jaroslav O
Hi,

any update on this post ?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel