[Live-devel] Resync

Ross Finlayson finlayson at live.com
Mon Mar 21 15:16:09 PST 2005


>I 've observed that with quicktime player it seems that the delay grown
>up (while streaming with OnDemand directly from the device)... I don't
>know if it's my error (but with vlc does not happen)

Are you sure you're setting "fPresentationTime" correctly (e.g., using 
"gettimeofday()", called at the time that each frame is captured)?  If so, 
and if RTCP packets from the server are reaching the client (i.e. you don't 
have any firewall that's blocking RTCP), then the client (QuickTime Player 
or VLC) should synchronize audio and video properly.

>  anyway I will like
>to restart the session after a period of time... how can I do it? It
>would be better a way to resync it (maybe a stop and start?) or a way to
>send a BYE from the server...

Even if you were to hack the server code to send this, it's unlikely that 
QuickTime Player would handle this in the way you want.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list