[Live-devel] openrtsp stackoverflow

Erwin Beckers e.beckers at gmail.com
Sat Oct 7 09:53:58 PDT 2006


First of, thank you for this great library!

I'm trying to stream a mpeg-2 transport stream using the
testOnDemandRTSPServer over rtsp
But i get several issues
1. Playback is perfect when using mplayer, but when using VLC, i only get
video and no audio
2. When using openRTSP to record the stream to disk, it produces a stack
overflow

I know VLC is not your program, but just wondering is this is a known issue
But openrtsp seems to produce a stack overflow and maybe this happens since
we're only
streaming 1 media (a mpeg-2 transport stream) and not the normal 2 media
types (audio and video track)

I tried analyzing the stack overflow and it happens in
FileSink::afterGettingFrame1()
at the end this function calls continuePlaying()
which again in the end seems to calls FileSink::afterGettingFrame1() again

openrtsp log:
>openrtsp rtsp://192.168.100.102/stream1

Opened URL "rtsp://192.168.100.102/stream1", returning a SDP description:
v=0
o=- 1160239838399000 1 IN IP4 192.168.100.102
s=Session streamed by "Streamserver v1.0"
i=stream1
t=0 0
a=tool:LIVE555 Streaming Media v2006.06.27
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "Streamserver v1.0"
a=x-qt-text-inf:stream1
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=control:track1

Created receiver for "video/MP2T" subsession (client ports 3208-3209)
Setup "video/MP2T" subsession (client ports 3208-3209)
Created output file: "video-MP2T-1"
Started playing session
Receiving streamed data...
.... crashes after a few seconds...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20061007/67ea6afa/attachment-0001.html 


More information about the live-devel mailing list