Specifications for the RTSP supported
spahwa last edited by spahwa
I have a Hive camera where the RTSP steam works fine on VLC. Using the proxy server with verbose option, the SDP offer looks like,
o=- 361124738 1 IN IP4 192.168.1.2
s=Streamd by “RTSP Server”
a=tool:RTSP Server:Nov 23 2018 - 19:29:58
m=video 0 RTP/AVP 96
c=IN IP4 192.168.1.6
a=fmtp:96 packetization-mode=1; profile-level-id=4D401F; sprop-parameter-sets=Z01AH5pmAoAt/4C3AQEBQAAA+gAAOpg6GAfMAANWfrvLjQwD5gABqz9d5cKA,aO44gA==;
m=audio 0 RTP/AVP 99
c=IN IP4 192.168.1.6
a=fmtp:99 streamtype=5; profile-level-id=41; mode=AAC-hbr; config=1408; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
With the proxy I get 'Buffering".
With the gateway using @tunnel option it does not work
With the gateway using @tunnel and @noaudio option it does not work
With @proxy and @noaudio it works
On VLC playing stream works well with both video and audio.
I can change the camera application, is there any specification that we could follow to ensure the camera will work with Echo Show without a local gateway running?
Sorry, we don’t have the full details as to what Amazon requires in the SDP. We just seem to find out by trial and error for most cameras. They don’t publish any details requirements specification for this. I suspect that their implementation is just buggy and that’t why it fails with a n umber of cameras.
One thing we do know is that if an audio channel is defined, it must use a specifically defined mapping and include the “a=rtpmap” line that explicitly defined the codec details.
m=audio 0 RTP/AVP 99 a=rtpmap:99 mpeg4-generic/16000/1
For example, while the example below is perfectly legal, Amazon devices refuse to accept it:
m=audio 0 RTP/AVP 0
spahwa last edited by
Thanks. The audio in the sdp offer for my camera does have the definition as suggested by yourself. Is it possible that the “mode=AAC-hbr” is not supported by Amazon?
mode=AAC-hbrus ok … I’ll have to look at a few cameras that are using AAC audio and see if they include this “HBR” mode.
Just an update to this thread … we have a number of cameras that include
mode=AAC-hbrin the SDP with no issues at all.