[Live-devel] hi all, I found a bug in mediaServer source code.

ken chow kenchow.cn at gmail.com
Wed Dec 10 01:05:14 PST 2014


I met another bug about dealing with range time.
Version: live.2014.12.09.tar.gz
<http://www.live555.com/liveMedia/public/live.2014.12.09.tar.gz>
File: RTSPServer.cpp line: 1954 code:
fStreamStates[i].subsession->seekStream(fOurSessionId,
fStreamStates[i].streamToken, absStart, absEnd);

the absStart and absEnd will be freed(deleted) in
File: OnDemandServerMediaSubsession.cpp line: 361

but, later in File: RTSPServer.cpp line: 1984 the absStart and absEnd will
be used to fill the rangeHeader, so each PLAY response were receiving range
start from 0 to 0.

another thing, I wish someone would help me. I'm recently doing the range
play, I still don't know how to make it right, actually, I'm not familiar
with C++, the problem that I met is if I give the range start time, don't
give end time, usually the file will play from start time that I gave to
the end of file, the reality is liveMedia played from whole file start to
the end, just like no rang time.

Thank you.






<http://about.me/kenchowcn>
Ken Chow
about.me/kenchowcn
[image: Ken Chow on about.me]
  <http://about.me/kenchowcn>

On Tue, Dec 9, 2014 at 12:50 AM, Ross Finlayson <finlayson at live555.com>
wrote:

>
> my point is if utcTimes is "20141208T064100.000Z-\r\nSession:
> 81A6879B\r\n", then the sscanf will parse that not we want
>
>
> Yes, you’re right - this was a bug.
>
> I’ve just installed a new version - 2014.12.08 - of the “LIVE555 Streaming
> Media” code that should fix this.  Thanks for the report.
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20141210/3ac950b0/attachment-0001.html>


More information about the live-devel mailing list