server doesn't support seeking

Adam Puckett adotsdothmusic at gmail.com
Mon Jul 20 06:38:46 PDT 2015


Found that if I send HTTP 206 with a range of 0-(bytes-1)/bytes I can
send the whole stream and still call it partial, even with a transfer
encoding of chunked. Then I can either force an EOS on interrupt or
call end(lastData) on the response class in Node. Progress!

On 7/17/15, Adam Puckett <adotsdothmusic at gmail.com> wrote:
> I think I've figured out what's going on but how do I fix it? It looks
> like when I write one buffer of bytes, the client requests more bytes
> and that's when I get the error. So how do I tell souphttpsrc to do
> not open another connection?
>
> Thanks
>
> On 7/17/15, Tim Müller <tim at centricular.com> wrote:
>> On Fri, 2015-07-17 at 07:24 -0400, Adam Puckett wrote:
>>
>>> Am I using an outdated version of souphttpsrc? Its properties don't
>>> match the documentation:
>>
>>> gst-inspect-1.0 souphttpsrc
>>> (snip)
>>>   blocksize           : Size in bytes to read per buffer (-1 = default)
>>>                         flags: readable, writable
>>>                         Unsigned Integer. Range: 0 - 4294967295 Default:
>>> 4096
>> (snip)
>>> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-souphttpsrc.html
>>>
>>> doesn't mention a 'blocksize' property,
>>
>> The html documentation only lists properties added by souphttpsrc
>> itself, not the classes it derives from. blocksize is a GstBaseSrc
>> propertly.
>>
>>> which I have a hunch I will
>>> need to synchronize with my server's acceptance of the range header.
>>
>> Not sure what that means. I don't think adjusting that property will fix
>> any seeking related problems.
>>
>>  Cheers
>>   -Tim
>>
>> --
>> Tim Müller, Centricular Ltd - http://www.centricular.com
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>


More information about the gstreamer-devel mailing list