[Live-devel] RTSP range clock/npt SDP parse

Paulo Vitor Magacho da Silva pvmagacho at gmail.com
Mon Jul 21 07:03:06 PDT 2014


Hi,
looking into file liveMedia/MediaSession.cpp I believe there is an
extra space in parseRangeAttribute method.

Instead of:
return sscanf(sdpLine, "a=range: npt = %lg - %lg", &startTime, &endTime) ==
2;
I think it should read:
return sscanf(sdpLine, "a=range:npt=%lg - %lg", &startTime, &endTime) == 2;

Instead of:
int sscanfResult = sscanf(sdpLine, "a=range:clock=%[^-\r\n]-%[^\r\n]", as,
ae);
I think it should read:
int sscanfResult = sscanf(sdpLine, "a=range:clock=%[^-\r\n]-%[^\r\n]", as,
ae);

Could you confirm if this is indeed the case ? Or can you at least
support both cases ?

Thank you,
Paulo Vitor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140721/06346dac/attachment.html>


More information about the live-devel mailing list