Problem with VOD using RTSP and MPEG-TS

Problem with VOD using RTSP and MPEG-TS

Support ForumCategory: Usage and FeaturesProblem with VOD using RTSP and MPEG-TS
duskasaric asked 5 years ago
Dear support, We are in the phase of testing the EvoStream Media Server for Video on Demand using RT(S)P. Using VLC client it works, but when I tried on the Amino STB we got the error: “Unable to find a valid transport alternative”. See below the log from evostream and also capture details: HandleRTSPRequestSetupOutboundTs:Unable to find a valid transport alternative:\n<MAP name=”” isArray=”false”>\n <MAP name=”alternatives” isArray=”true”>\n <MAP name=”0x00000000″ isArray=”false”>\n <MAP name=”client_port” isArray=”false”>\n <STR name=”all”>5000-5001</STR>\n <UINT16 name=”data”>5000</UINT16>\n <UINT16 name=”rtcp”>5001</UINT16>\n </MAP>\n <BOOL name=”mp2t/rtp/avp/udp”>true</BOOL>\n <STR name=”original”>MP2T/RTP/AVP/UDP;unicast;client_port=5000-5001</STR>\n <BOOL name=”unicast”>true</BOOL>\n </MAP>\n </MAP>\n <STR name=”original”>MP2T/RTP/AVP/UDP;unicast;client_port=5000-5001</STR>\n</MAP>
1517315427:0:/thelib/src/protocols/rtp/rtspprotocol.cpp:397:SignalInputData:Unable to handle content
1517315427:0:/thelib/src/netio/epoll/tcpcarrier.cpp:91:OnEvent:Unable to read data from connection: (Far: 172.16.16.140:48894; Near: 172.16.16.140:5544) CTCP(30) <-> [TCP(4915)] <-> RTSP(4916). Signaling upper protocols failed
1517315427:3:/applications/evorouter/src/protocols/cli/cliappprotocolhandler.cpp:1311:ProcessMessage:command: version
1517315427:4:/thelib/src/netio/epoll/iohandlermanager.cpp:129:UnRegisterIOHandler:Handlers count changed: 41->40 IOHT_TCP_CARRIER
1517315427:3:/thelib/src/application/baseclientapplication.cpp:410:SignalStreamUnRegistered:Stream IFP(15) with name `/var/evostreamms/media/sample.mp4` from protocol RTSP(4916) unregistered from origin application `evostreamms`
1517315427:6:/thelib/src/application/baseclientapplication.cpp:398:UnRegisterProtocol:Protocol [RTSP(4916)] unregistered from application: evostreamms
1517315427:4:/thelib/src/netio/epoll/iohandlermanager.cpp:129:UnRegisterIOHandler:Handlers count changed: 40->39 IOHT_TCP_CARRIER
1517315427:6:/thelib/src/application/baseclientapplication.cpp:398:UnRegisterProtocol:Protocol [IJSONCLI(4920)] unregistered from application: evostreamms   OPTIONS rtsp://172.16.16.140:5544/vodts/sample.mp4?stbAreaCode=Zwolle RTSP/1.0 CSeq: 1 User-Agent: Amino Communications Ltd aminetx5x rtsp_plugin-1.39.1   RTSP/1.0 200 OK CSeq: 1 Cache-Control: no-store Date: Tue, 30 Jan 2018 12:24:40 UTC Expires: Tue, 30 Jan 2018 12:24:40 UTC Pragma: no-cache Public: DESCRIBE, OPTIONS, PAUSE, PLAY, SETUP, TEARDOWN, ANNOUNCE, RECORD Server: EvoStream Media Server (http://www.evostream.com)   DESCRIBE rtsp://172.16.16.140:5544/vodts/sample.mp4?stbAreaCode=Zwolle RTSP/1.0 CSeq: 2 User-Agent: Amino Communications Ltd aminetx5x rtsp_plugin-1.39.1   RTSP/1.0 200 OK CSeq: 2 Cache-Control: no-store Content-Base: rtsp://172.16.16.140:5544/vodts/sample.mp4?stbAreaCode=Zwolle/ Content-Length: 218 Content-Type: application/sdp Date: Tue, 30 Jan 2018 12:24:40 UTC Expires: Tue, 30 Jan 2018 12:24:40 UTC Pragma: no-cache Server: EvoStream Media Server (http://www.evostream.com)   v=0 o=- 3599 0 IN IP4 172.16.16.140 s=/var/evostreamms/media/sample.mp4 u=www.evostream.com e=contact@evostream.com c=IN IP4 172.16.16.140 t=0 0 a=recvonly a=control:* a=range:npt=0-634.600 m=video 0 udp 33 SETUP rtsp://172.16.16.140:5544/vodts/sample.mp4?stbAreaCode=Zwolle RTSP/1.0 CSeq: 3 Transport: MP2T/H2221/UDP;unicast;destination=192.168.200.234;client_port=11120,MP2T/H2221/UDP;multicast,RAW/RAW/UDP;unicast;destination=192.168.200.234;client_port=11120,RAW/RAW/UDP;multicast User-Agent: Amino Communications Ltd aminetx5x rtsp_plugin-1.39.1 x-mayNotify:   RTSP/1.0 200 OK CSeq: 3 Cache-Control: no-store Date: Tue, 30 Jan 2018 12:24:40 UTC Expires: Tue, 30 Jan 2018 12:24:40 UTC Pragma: no-cache Server: EvoStream Media Server (http://www.evostream.com) Session: 7Ln8pAMA Transport: RAW/RAW/UDP;unicast;source=172.16.16.140;client_port=11120;server_port=53235-53236;ssrc=35a817da   Thanks. Duska



1 Answers
Don answered 5 years ago
Hi Duska, Can you try the following procedure to test your configuration? 1. Download bunny.mp4 to your media folder: a) $ wget https://github.com/EvoStream/sample_content/blob/gh-pages/assets/bunny.mp4?raw=true /tmp/bunny.mp4 b) $ sudo mv /tmp/bunny.mp4 /var/evostreamms/media 2. With EMS running, playback bunny.mp4 using RTSP protocol: a) $ ffplay rtsp://localhost:5544/vod/bunny.mp4 b) $ ffplay rtsp://localhost:5544/vodts/bunny.mp4 Note: If you don’t have ffplay, install ffmpeg as follows: $ sudo apt-get install ffmpeg 3. Assuming both playbacks in step 2 were successful, use your STB to play the following URI: a) rtsp://localhost:5544/vod/bunny.mp4 b) rtsp://localhost:5544/vodts/bunny.mp4 If your STB can’t play bunny.mp4, please send the relevant logs. Cheers, Don

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.