[Live-devel] Reg: MPEG2TS over UDP

Sathish Kumar Manohar Sathish.Manohar at aricent.com
Tue Nov 20 22:32:39 PST 2012


Hi Ross,
Thanks for the quick response.
We are currently implementing our RTSP client for Android Platform. I will share our client and live555 server negotiations soon.

There is already a Server which supports MPEG2TS over UDP at our client's place. We don't have access to that.
We thought Live555 would be better for our offshore development.

This is already a RTSP client in Linux platform and their negotiations are as follows. We just have this log.
Our End solution would look like this only. Just see whether this data would help.

OPTIONS rtsp://172.17.178.94:554/2032153999 RTSP/1.0
CSeq: 4

RTSP/1.0 200 OK
Server: XXX
CSeq: 4
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER

DESCRIBE rtsp://172.17.178.94:554/2032153999 RTSP/1.0
CSeq: 5
User-Agent: XYZ Player

RTSP/1.0 200 OK
Server: XXX
CSeq: 5
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER
Content-Type: application/sdp
Content-Length: 212

v=0
o=- 2032153999 0 IN IP4 172.17.178.94
s=2032153999
t=0 0
c=IN IP4 172.17.178.94
b=AS:9746.000
a=type:vodrtf
a=range:npt=0-6992
m=video 0 MP2T/H2221/UDP 33
m=video 0 UDP 33
m=video 0 RTP/AVP/UDP 33

SETUP rtsp://172.17.178.94:554/2032153999 RTSP/1.0
CSeq: 6
Transport: RAW/RAW/UDP;unicast;destination=10.149.174.231;client_port=33260
User-Agent: XYZ Player

RTSP/1.0 200 OK
Server: XXX
CSeq: 6
Session: 2032153999;timeout=60
Transport: RAW/RAW/UDP;unicast;destination=10.149.174.231;client_port=33260;source=172.17.178.94;server_port=10000

PLAY rtsp://172.17.178.94:554/2032153999 RTSP/1.0
CSeq: 7
Scale: 1.000000
Range: npt=0-
Session: 2032153999

RTSP/1.0 200 OK
Server: XXX
CSeq: 7
Session: 2032153999
Scale: 1.00
Range: npt=0-


Regards
Sathish Kumar M
________________________________________
From: live-devel-bounces at ns.live555.com [live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson [finlayson at live555.com]
Sent: Wednesday, November 21, 2012 1:10 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Reg: MPEG2TS over UDP

Is there any way to configure the live555 server to send TS data over UDP only?

Perhaps.  However, the situation is complicated by the fact that there is no standard defined for how to specify raw-UDP streaming within the RTSP protocol.  Different 'raw-UDP' RTSP clients - because they are non-standard - may use the RTSP protocol in different (perhaps non-standard) ways.  (For example, the Amino set-top box client doesn't use the RTSP "PLAY" command at all.  Instead, it uses only the RTSP "SETUP" command, without sending "PLAY".)

So, to answer your question, I'd need to know how your client works.  So, could you please send us the RTSP protocol exchange between your client and our RTSP server (serving a Transport Stream file)?  To do this, add the line

#define DEBUG 1

to the start of "liveMedia/RTSPServer.cpp", recompile the server, and rerun it.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/





===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================



More information about the live-devel mailing list