[Live-devel] Initial rtptime calculation

Ross Finlayson finlayson at live555.com
Thu Jun 11 01:21:59 PDT 2009


>I'm new to this forum so please excuse me if I post my question in a 
>wrong form.
>I'm currently working on DirectShow filter for an IP-camera, which 
>doesn't  properly fills in its SDP description.
>It's funny but it forgets to add 'rtptime=' parameter in a 
>"RTP-info" line, while 'seq=' parameter is present.

Does your server (the IP camera) use our software?  Our software has 
included the "rtptime=" line since version 2005.05.26

>And I need this information to properly calculate NPT. Unluckily, 
>function RTSPClient::playMediaSession doesn't
>initialize its local variable 'timestamp' at line 1127 .  Since 
>'seq=' parameter is present, parseRTPInfoHeader() returns true;
>rtpInfo.timestamp is filled in with an arbitrary value and function 
>MediaSubsession::getNormalPlayTime returns garbage.
>So I have to fix parseRTPInfoHeader() function code to be sure I 
>have a valid rtp time. But I  still thinking on workaround
>for this issue:  maybe there is a way to calculate intitial rtp time 
>taking valid seqNum parameter.

Not really, no.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list