Hi Ross, Trying to get an audio stream with openRTSP reports the error MPEG4GenericRTPSource Warning: Unknown or unsupported "mode": AAC-hbr.
I checked the code of MPEG4GenericRTPSource that check for "aac-hbr" : if (mode == NULL<http://www.grid.unina.it/%7Evollero/resources/doc_live/html/UsageEnvironment_8hh.html#a0> || strcmp(mode, "aac-hbr") != 0) { envir() << "MPEG4GenericRTPSource Warning: Unknown or unsupported \"mode\": " // Check for a "mode" that we don't yet support: //##### << mode << "\n"; } However in MPEG4GenericRTPSink, the mode is compared in lower case. In the RFC (https://www.ietf.org/rfc/rfc3640.txt) it seems to be AAC-hbr, but I did not find if the mode is supposed to be case sensitive or not ? This doesn't seems to have more impact that printing an error, but perhaps I miss something. Thanks for your support. Best Regards, Michel. P.S here after the complete openRTSP output : Opening connection to 186.20.60.243, port 554... ...remote connection opened Sending request: OPTIONS rtsp://186.20.60.243:554/s1.sdp RTSP/1.0 CSeq: 2 User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.19) Received 106 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 200 OK CSeq: 2 Public: DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN, SET_PARAMETER, GET_PARAMETER Sending request: DESCRIBE rtsp://186.20.60.243:554/s1.sdp RTSP/1.0 CSeq: 3 User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.19) Accept: application/sdp Received 798 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 200 OK CSeq: 3 Content-Base: rtsp://186.20.60.243:554/s1.sdp/ Content-Type: application/sdp Content-Length: 670 v=0 o=RTSP 1412783906 133347 IN IP4 0.0.0.0 s=RTSP server c=IN IP4 0.0.0.0 t=0 0 a=charset:Shift_JIS a=range:npt=0- a=control:* a=etag:1234567890 m=video 0 RTP/AVP 96 b=AS:56 a=rtpmap:96 H264/90000 a=control:trackID=1 a=fmtp:96 packetization-mode=1;profile-level-id=64402a;sprop-parameter-sets=J2RAKqwsagHgCJ+WagoMCoAAAAMAgAAAHgI=,KO4G4sA= m=audio 0 RTP/AVP 97 a=control:trackID=2 a=rtpmap:97 mpeg4-generic/8000/0 a=fmtp:97 streamtype=5;profile-level-id=15;mode=AAC-hbr;config=1588;SizeLength=13;IndexLength=3;IndexDeltaLength=3;CTSDeltaLength=0;DTSDeltaLength=0 m=application 0 RTP/AVP 107 a=rtpmap:107 vnd.onvif.metadata/90000 a=control:trackID=3 Opened URL "rtsp://186.20.60.243:554/s1.sdp", returning a SDP description: v=0 o=RTSP 1412783906 133347 IN IP4 0.0.0.0 s=RTSP server c=IN IP4 0.0.0.0 t=0 0 a=charset:Shift_JIS a=range:npt=0- a=control:* a=etag:1234567890 m=video 0 RTP/AVP 96 b=AS:56 a=rtpmap:96 H264/90000 a=control:trackID=1 a=fmtp:96 packetization-mode=1;profile-level-id=64402a;sprop-parameter-sets=J2RAKqwsagHgCJ+WagoMCoAAAAMAgAAAHgI=,KO4G4sA= m=audio 0 RTP/AVP 97 a=control:trackID=2 a=rtpmap:97 mpeg4-generic/8000/0 a=fmtp:97 streamtype=5;profile-level-id=15;mode=AAC-hbr;config=1588;SizeLength=13;IndexLength=3;IndexDeltaLength=3;CTSDeltaLength=0;DTSDeltaLength=0 m=application 0 RTP/AVP 107 a=rtpmap:107 vnd.onvif.metadata/90000 a=control:trackID=3 Created receiver for "video/H264" subsession (client ports 51432-51433) MPEG4GenericRTPSource Warning: Unknown or unsupported "mode": AAC-hbr Created receiver for "audio/MPEG4-GENERIC" subsession (client ports 49614-49615) Created receiver for "application/VND.ONVIF.METADATA" subsession (client ports 58422-58423) Sending request: SETUP rtsp://186.20.60.243:554/s1.sdp/trackID=1 RTSP/1.0 CSeq: 4 User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.19) Transport: RTP/AVP;unicast;client_port=51432-51433 Received 121 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 4 Session: 12835717 Transport: RTP/AVP;unicast;client_port=51432-51433;server_port=8000-8001 Setup "video/H264" subsession (client ports 51432-51433) Sending request: SETUP rtsp://186.20.60.243:554/s1.sdp/trackID=2 RTSP/1.0 CSeq: 5 User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.19) Transport: RTP/AVP;unicast;client_port=49614-49615 Session: 12835717 Received 121 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 5 Session: 12835717 Transport: RTP/AVP;unicast;client_port=49614-49615;server_port=8002-8003 Setup "audio/MPEG4-GENERIC" subsession (client ports 49614-49615) Sending request: SETUP rtsp://186.20.60.243:554/s1.sdp/trackID=3 RTSP/1.0 CSeq: 6 User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.19) Transport: RTP/AVP;unicast;client_port=58422-58423 Session: 12835717 Received 121 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 6 Session: 12835717 Transport: RTP/AVP;unicast;client_port=58422-58423;server_port=8004-8005 Setup "application/VND.ONVIF.METADATA" subsession (client ports 58422-58423) Created output file: "video-H264-1" Created output file: "audio-MPEG4-GENERIC-2" Created output file: "application-VND.ONVIF.METADATA-3" Sending request: PLAY rtsp://186.20.60.243:554/s1.sdp/ RTSP/1.0 CSeq: 7 User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.19) Session: 12835717 Range: npt=0.000- Received 324 new bytes of response data. Received a complete PLAY response: RTSP/1.0 200 OK CSeq: 7 Session: 12835717 RTP-Info: url=rtsp://186.20.60.243:554/s1.sdp//trackID=1;seq=0;rtptime=0;ssrc=12835717,url=rtsp://186.20.60.243:554/s1.sdp//trackID=2;seq=0;rtptime=0;ssrc=12835717,url=rtsp://186.20.60.243:554/s1.sdp//trackID=3;seq=0;rtptime=0;ssrc=12835717 Range: npt=0- RTCP-Interval: 250 Started playing session Receiving streamed data (signal with "kill -HUP 18378" or "kill -USR1 18378" to terminate)... [@@ THALES GROUP INTERNAL @@]
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel