Hi, I have created a h.264 unicast streamer using live555 streaming library. I have created my own H.264 video stream framer. Some issue is there with this approach,
I have developed VideoServerMediaSubsession. In this when I am streaming without SDP it's streaming which I can receive with VLC client. But in another case when SDP line is there that is as follows: char const* H264VideoServerMediaSubsession ::getAuxSDPLine(RTPSink* rtpSink, FramedSource* inputSource) { fDummyRTPSink = rtpSink; fDummyRTPSink->startPlaying(*inputSource, afterPlayingDummy, this); checkForAuxSDPLine(this); envir().taskScheduler().doEventLoop(&fDoneFlag); char const* auxSDPLine = fDummyRTPSink->auxSDPLine(); return auxSDPLine; } Then it is not streaming and VLC can't understand the SDP , so the VLC player crashes. Error is coming. Here is the TCP flow of H.264 Unicast streamer without SDPLine when we return NULL. OPTIONS rtsp://172.24.2.192:8554/h264ESVideoTest RTSP/1.0 CSeq: 1 User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20) RTSP/1.0 200 OK CSeq: 1 Date: Sun, Feb 01 2004 12:12:55 GMT Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE DESCRIBE rtsp://172.24.2.192:8554/h264ESVideoTest RTSP/1.0 CSeq: 2 Accept: application/sdp User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20) RTSP/1.0 200 OK CSeq: 2 Date: Sun, Feb 01 2004 12:12:55 GMT Content-Base: rtsp://172.24.2.192:8554/h264ESVideoTest/ Content-Type: application/sdp Content-Length: 353 v=0 o=- 1075637543441356 1 IN IP4 172.24.2.192 s=LIVE555 Streaming Media v i=h264ESVideoTest t=0 0 a=tool:LIVE555 Streaming Media v2008.02.08 a=type:broadcast a=control:* a=range:npt=0- a=x-qt-text-nam:LIVE555 Streaming Media v a=x-qt-text-inf:h264ESVideoTest m=video 0 RTP/AVP 97 c=IN IP4 0.0.0.0 a=rtpmap:97 H264/90000 a=control:track1 SETUP rtsp://172.24.2.192:8554/h264ESVideoTest/track1 RTSP/1.0 CSeq: 3 Transport: RTP/AVP;unicast;client_port=1662-1663 User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20) RTSP/1.0 200 OK CSeq: 3 Date: Sun, Feb 01 2004 12:12:55 GMT Transport: RTP/AVP;unicast;destination=172.24.3.51;source=172.24.2.192;client_port=1662 -1663;server_port=6970-6971 Session: 1 PLAY rtsp://172.24.2.192:8554/h264ESVideoTest/ RTSP/1.0 CSeq: 4 Session: 1 Range: npt=0.000- User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20) RTSP/1.0 200 OK CSeq: 4 Date: Sun, Feb 01 2004 12:12:55 GMT Range: npt=0.000- Session: 1 RTP-Info: url=rtsp://172.24.2.192:8554/h264ESVideoTest/track1;seq=44038;rtptime=176349 5655 Can someone please help me to inform me the SDP parameters for H.264 RTP transmission over RTSP including Profile-Level-Id & sprop-parameter-set. Regards Soumya LGSI
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel