[Live-devel] Receiving some packets after the session is complete
Ross Finlayson
finlayson at live555.com
Fri Jul 28 07:35:13 PDT 2006
>Hi,
>
>Im using live 555 testprogs for streaming. I have started streaming
>using testOnDemandRTSPServer.
>I have developed some customized clients which uses mpeg4ip rtsp
>libraries. When i connect to server live555 server, i found that
>after sending all the rtp packets, still im receiving RTCP packets.
See the code for "afterPlayingStreamState()" in
"liveMedia/OnDemandServerMediaSubsession.cpp". If a stream has a
known duration (which is usually the case if you're streaming from a
file), then the RTP session is kept alive even after the input source
ends - in case the client subsequently wants to seek backwards to an
earlier point in the stream.
Note, however, that a client-issued RTSP "BYE" command will always
close the RTP session.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list