Skip to content

openRTSP -- no output #53

@iconoclasthero

Description

@iconoclasthero

Stream's coming from mediamtx server.
(but I'm not ruling out something on the server side):
mpv rtsp://fqdn:8554/mpd/mpd.opus
mpv can play the stream to [pipewire-]pulse (presumably, as it shows up in pavucontrol)

$ openRTSP rtsp://fwdn:8554/mpd/mpd.opus
Created new TCP socket 3 for connection
Connecting to 8.8.8.8, port 8554 on socket 3...
...remote connection opened
Sending request: OPTIONS rtsp://fwdn:8554/mpd/mpd.opus RTSP/1.0
CSeq: 2
User-Agent: openRTSP (LIVE555 Streaming Media v2023.06.14)


Received 128 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Public: DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, GET_PARAMETER, TEARDOWN
Server: gortsplib


Sending request: DESCRIBE rtsp://fwdn:8554/mpd/mpd.opus RTSP/1.0
CSeq: 3
User-Agent: openRTSP (LIVE555 Streaming Media v2023.06.14)
Accept: application/sdp


Received 377 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Content-Base: rtsp://fwdn:8554/mpd/mpd.opus/
Content-Length: 212
Content-Type: application/sdp
Server: gortsplib

v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 0.0.0.0
t=0 0
m=audio 0 RTP/AVP 96
a=control:rtsp://fwdn:8554/mpd/mpd.opus/trackID=0
a=rtpmap:96 opus/48000/2
a=fmtp:96 sprop-stereo=1

Opened URL "rtsp://fwdn:8554/mpd/mpd.opus", returning a SDP description:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 0.0.0.0
t=0 0
m=audio 0 RTP/AVP 96
a=control:rtsp://fwdn:8554/mpd/mpd.opus/trackID=0
a=rtpmap:96 opus/48000/2
a=fmtp:96 sprop-stereo=1

Created receiver for "audio/OPUS" subsession (client ports 49842-49843)
Sending request: SETUP rtsp://fwdn:8554/mpd/mpd.opus/trackID=0 RTSP/1.0
CSeq: 4
User-Agent: openRTSP (LIVE555 Streaming Media v2023.06.14)
Transport: RTP/AVP;unicast;client_port=49842-49843


Received 189 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Server: gortsplib
Session: 16cc362a875947b7a6f7631f036e133f;timeout=60
Transport: RTP/AVP;unicast;client_port=49842-49843;server_port=8000-8001;ssrc=7F83F717


Setup "audio/OPUS" subsession (client ports 49842-49843)
Created output file: "audio-OPUS-1"
Sending request: PLAY rtsp://fwdn:8554/mpd/mpd.opus/ RTSP/1.0
CSeq: 5
User-Agent: openRTSP (LIVE555 Streaming Media v2023.06.14)
Session: 16cc362a875947b7a6f7631f036e133f
Range: npt=0.000-


Received 205 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
RTP-Info: url=rtsp://fwdn:8554/mpd/mpd.opus/trackID=0;seq=32196;rtptime=2065390539
Server: gortsplib
Session: 16cc362a875947b7a6f7631f036e133f;timeout=60


Started playing session
Receiving streamed data (signal with "kill -HUP 50814" or "kill -USR1 50814" to terminate)...
^C



$ openRTSP -r -p 8554 rtsp://fwdn:8554/mpd/mpd.opus
Created new TCP socket 3 for connection
Connecting to 8.8.8.8, port 8554 on socket 3...
...remote connection opened
Sending request: OPTIONS rtsp://fwdn:8554/mpd/mpd.opus RTSP/1.0
CSeq: 2
User-Agent: openRTSP (LIVE555 Streaming Media v2023.06.14)


Received 128 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Public: DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, GET_PARAMETER, TEARDOWN
Server: gortsplib


Sending request: DESCRIBE rtsp://fwdn:8554/mpd/mpd.opus RTSP/1.0
CSeq: 3
User-Agent: openRTSP (LIVE555 Streaming Media v2023.06.14)
Accept: application/sdp


Received 377 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Content-Base: rtsp://fwdn:8554/mpd/mpd.opus/
Content-Length: 212
Content-Type: application/sdp
Server: gortsplib

v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 0.0.0.0
t=0 0
m=audio 0 RTP/AVP 96
a=control:rtsp://fwdn:8554/mpd/mpd.opus/trackID=0
a=rtpmap:96 opus/48000/2
a=fmtp:96 sprop-stereo=1

Opened URL "rtsp://fwdn:8554/mpd/mpd.opus", returning a SDP description:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 0.0.0.0
t=0 0
m=audio 0 RTP/AVP 96
a=control:rtsp://fwdn:8554/mpd/mpd.opus/trackID=0
a=rtpmap:96 opus/48000/2
a=fmtp:96 sprop-stereo=1

Sending request: SETUP rtsp://fwdn:8554/mpd/mpd.opus/trackID=0 RTSP/1.0
CSeq: 4
User-Agent: openRTSP (LIVE555 Streaming Media v2023.06.14)
Transport: RTP/AVP;unicast;client_port=8554-8555


Received 187 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Server: gortsplib
Session: 514182e8c8e249d9b1b5dad009a160e3;timeout=60
Transport: RTP/AVP;unicast;client_port=8554-8555;server_port=8000-8001;ssrc=7F83F717


Setup "audio/OPUS" subsession (client ports 8554-8555)
Sending request: PLAY rtsp://fwdn:8554/mpd/mpd.opus/ RTSP/1.0
CSeq: 5
User-Agent: openRTSP (LIVE555 Streaming Media v2023.06.14)
Session: 514182e8c8e249d9b1b5dad009a160e3
Range: npt=0.000-


Received 205 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
RTP-Info: url=rtsp://fwdn:8554/mpd/mpd.opus/trackID=0;seq=32926;rtptime=2066087617
Server: gortsplib
Session: 514182e8c8e249d9b1b5dad009a160e3;timeout=60


Started playing session
Data is being streamed (signal with "kill -HUP 50817" or "kill -USR1 50817" to terminate)...
^C

Seemed to compile fine after installing libssl-dev on Rhino Linux 2024.1/Ubuntu devel/noble.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions