Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've tested my rtsp server with openRTSP command. </p> <p>It's the UDP ports been blocked. </p> <p>If accessing rtsp without -t:</p> <pre><code>-&gt; $ openRTSP &lt;rtsp_url&gt; </code></pre> <p>I got log telling me: </p> <pre><code>// omit lots of lines.. Created receiver for "video/H264" subsession (client ports 63346-63347) Sending request: SETUP rtsp://61.218.52.250:554/live/ch00_0/trackID=0 RTSP/1.0 CSeq: 4 User-Agent: openRTSP (LIVE555 Streaming Media v2013.12.16) Transport: RTP/AVP;unicast;client_port=63346-63347 Received 47 new bytes of response data. Received a complete SETUP response: RTSP/1.0 461 Unsupported Transport CSeq: 4 Failed to setup "video/H264" subsession: 461 Unsupported Transport </code></pre> <p>So changing to TCP with: </p> <pre><code>-&gt; $ openRTSP -t &lt;rtsp_url&gt; </code></pre> <p>it start receiving data successfully.</p> <pre><code>// omit lots of lines.. Opened URL "rtsp://61.218.52.250:554/live/ch00_0", returning a SDP description: v=0 o=- 1 1 IN IP4 127.0.0.1 s=Ubiquiti Live i=UBNT Streaming Media c=IN IP4 0.0.0.0 t=0 0 m=video 0 RTP/AVP 99 b=AS:50000 a=framerate:25 a=x-dimensions:1280,720 a=x-vendor-id:ubnt,a521 a=x-rtp-ts:4617405454576779984 a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42A01E;packetization-mode=1;sprop-parameter-sets=Z0IAKOkAoAt1xIAG3dAAzf5gDYgQlA==,aM4xUg== a=control:trackID=0 Sending request: SETUP rtsp://61.218.52.250:554/live/ch00_0/trackID=0 RTSP/1.0 CSeq: 4 User-Agent: openRTSP (LIVE555 Streaming Media v2013.12.16) Transport: RTP/AVP/TCP;unicast;interleaved=0-1 Received 107 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 4 Transport: RTP/AVP/TCP;unicast;interleaved=0-1 Session: E090B5503236A1BFB7CE Setup "video/H264" subsession (client ports 54884-54885) Sending request: PLAY rtsp://61.218.52.250:554/live/ch00_0/ RTSP/1.0 CSeq: 5 User-Agent: openRTSP (LIVE555 Streaming Media v2013.12.16) Session: E090B5503236A1BFB7CE Range: npt=0.000- Received 159 new bytes of response data. Received a complete PLAY response: RTSP/1.0 200 OK CSeq: 5 Session: E090B5503236A1BFB7CE Range: npt=now- RTP-Info: url=rtsp://61.218.52.250:554/live/ch00_0//trackID=0;seq=41402;rtptime=0 Started playing session Data is being streamed (signal with "kill -HUP 96432" or "kill -USR1 96432" to terminate)... Received 47 new bytes of response data. Received 1424 new bytes of response data. Received 1424 new bytes of response data. Received 1424 new bytes of response data. Received 1424 new bytes of response data. Received 1448 new bytes of response data. Received 1448 new bytes of response data. </code></pre> <p><a href="http://www.live555.com/openRTSP/#other-options" rel="nofollow">Ref to openRTSP basics.</a></p> <p>Now I've got to figure out how to auto switch to TCP in Android.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload