[Live-devel] **EXTERNAL**Re: Adding UDP Video to an Audio RTSP URL coming from an AXIS encoder in the same stream doesn't work

Eric Eastman Eric.Eastman at AITEngineering.com
Tue Nov 7 14:03:59 PST 2023


Oh. Ok here is what I was able to get. The video plays fine but the audio says it's in a format that it can't understand. Also shouldn't they be on the same stream instead of 2 different streams?


Thanks,



Eric Eastman



Staff Software Engineer



Offsite Location: IDE Facility

3045 Technology Parkway

Orlando, Fl 32826

Phone: (407) 883-3138

Email: eric.eastman at aitengineering.com<mailto:eric.eastman at aitengineering.com>

Site: www.aitengineering.com<http://www.aitengineering.com/>

________________________________
From: live-devel <live-devel-bounces at us.live555.com> on behalf of Ross Finlayson <finlayson at live555.com>
Sent: Tuesday, November 7, 2023 12:43 PM
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: Re: [Live-devel] **EXTERNAL**Re: Adding UDP Video to an Audio RTSP URL coming from an AXIS encoder in the same stream doesn't work



> On Nov 7, 2023, at 12:38 PM, Eric Eastman <Eric.Eastman at AITEngineering.com> wrote:
>
> Thanks for the quick response. I don't know if I can use openRTSP because the video isn't RTSP

No, I meant using “openRTSP” as a ***front-end*** client, to check for sure whether both the audio and video streams are being sent from your server (when you put both the audio and the video "ServerMediaSubsession”s into your “ServerMediaSession”).  Right now you’re saying that this doesn’t work, but you’re testing it only with a media player as your front end client.  Perhaps both streams really are being sent, but (for some reason) your media player is not able to handle this??

Running “openRTSP” as your front-end client will let you determine this for sure.


Ross Finlayson
Live Networks, Inc.
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.live555.com%2F&data=05%7C01%7Ceric.eastman%40aitengineering.com%7C8acd515350084b580dd208dbdfd25741%7C96108be3d6734e76aee49c7bb49a433a%7C0%7C0%7C638349866758720221%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=IE3KC5Aj2n%2FyghzDyD%2FvnF4QEe1loIPKYfZbGwNXcS4%3D&reserved=0<http://www.live555.com/>


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.live555.com%2Fmailman%2Flistinfo%2Flive-devel&data=05%7C01%7Ceric.eastman%40aitengineering.com%7C8acd515350084b580dd208dbdfd25741%7C96108be3d6734e76aee49c7bb49a433a%7C0%7C0%7C638349866758720221%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=q%2FOgH%2B3doWlShwEKK17Ar0LzJhXYNx8st8vaNhyDyVw%3D&reserved=0<http://lists.live555.com/mailman/listinfo/live-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20231107/da1db729/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audio-PCMU-2
Type: application/octet-stream
Size: 45056 bytes
Desc: audio-PCMU-2
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20231107/da1db729/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: video-MP2T-1
Type: application/octet-stream
Size: 2309580 bytes
Desc: video-MP2T-1
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20231107/da1db729/attachment-0003.obj>
-------------- next part --------------
C:\_DRTS_DEV_AREA\rtsp_proxy_server\libs\live\testProgs>openRTSP.exe rtsp://172.20.172.10/uas1
Created new TCP socket 264 for connection
Connecting to 172.20.172.10, port 554 on socket 264...
...remote connection opened
Sending request: OPTIONS rtsp://172.20.172.10/uas1 RTSP/1.0
CSeq: 2
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2021.04.06)


Received 152 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Wed, Nov 08 2023 04:40:07 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: DESCRIBE rtsp://172.20.172.10/uas1 RTSP/1.0
CSeq: 3
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2021.04.06)
Accept: application/sdp


Received 652 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Wed, Nov 08 2023 04:40:07 GMT
Content-Base: rtsp://172.20.172.10/uas1/
Content-Type: application/sdp
Content-Length: 493

v=0
o=- 1699415725763744 1 IN IP4 169.254.197.162
s=LIVE555 Streaming Media v2021.04.06
i=LIVE555 Streaming Media v2021.04.06
t=0 0
a=tool:LIVE555 Streaming Media v2021.04.06
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:LIVE555 Streaming Media v2021.04.06
a=x-qt-text-inf:LIVE555 Streaming Media v2021.04.06
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
b=AS:5000
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:64
a=rtpmap:97 PCMU/8000
a=control:track2

Opened URL "rtsp://172.20.172.10/uas1", returning a SDP description:
v=0
o=- 1699415725763744 1 IN IP4 169.254.197.162
s=LIVE555 Streaming Media v2021.04.06
i=LIVE555 Streaming Media v2021.04.06
t=0 0
a=tool:LIVE555 Streaming Media v2021.04.06
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:LIVE555 Streaming Media v2021.04.06
a=x-qt-text-inf:LIVE555 Streaming Media v2021.04.06
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
b=AS:5000
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:64
a=rtpmap:97 PCMU/8000
a=control:track2

Created receiver for "video/MP2T" subsession (client ports 49238-49239)
Created receiver for "audio/PCMU" subsession (client ports 49240-49241)
Sending request: SETUP rtsp://172.20.172.10/uas1/track1 RTSP/1.0
CSeq: 4
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2021.04.06)
Transport: RTP/AVP;unicast;client_port=49238-49239


Received 217 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Wed, Nov 08 2023 04:40:08 GMT
Transport: RTP/AVP;unicast;destination=192.168.60.101;source=172.20.172.10;client_port=49238-49239;server_port=6970-6971
Session: A488C864;timeout=65


Setup "video/MP2T" subsession (client ports 49238-49239)
Sending request: SETUP rtsp://172.20.172.10/uas1/track2 RTSP/1.0
CSeq: 5
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2021.04.06)
Transport: RTP/AVP;unicast;client_port=49240-49241
Session: A488C864


Received 217 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Wed, Nov 08 2023 04:40:08 GMT
Transport: RTP/AVP;unicast;destination=192.168.60.101;source=172.20.172.10;client_port=49240-49241;server_port=6972-6973
Session: A488C864;timeout=65


Setup "audio/PCMU" subsession (client ports 49240-49241)
Created output file: "video-MP2T-1"
Created output file: "audio-PCMU-2"
Sending request: PLAY rtsp://172.20.172.10/uas1/ RTSP/1.0
CSeq: 6
User-Agent: openRTSP.exe (LIVE555 Streaming Media v2021.04.06)
Session: A488C864
Range: npt=0.000-


Received 246 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Wed, Nov 08 2023 04:40:08 GMT
Range: npt=0.000-
Session: A488C864
RTP-Info: url=rtsp://172.20.172.10/uas1/track1;seq=27031;rtptime=3431764229,url=rtsp://172.20.172.10/uas1/track2;seq=62240;rtptime=3751873934


Started playing session
Receiving streamed data...


More information about the live-devel mailing list