[Live-devel] mixed rtp payload

Sébastien Escudier sebastien-devel at celeos.eu
Mon Jun 28 07:15:10 PDT 2010


Quoting Ross Finlayson <finlayson at live555.com>:

> Sebastien,
>
> Perhaps.  Does the camera give you a SDP description for the stream?
> (Does the camera support RTSP?  If so, please run "openRTSP" on it,
> and send us the (stderr) output.)

Yes I think it does, I can see it in the sdp.
Here is the output :

Opening connection to 192.43.185.150, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://admin:admin@192.43.185.150/VideoInput/1/h264/1
RTSP/1.0
CSeq: 2
User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.06.22)


Received 96 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Server: SANYO RTSP Server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY


Sending request: DESCRIBE rtsp://admin:admin@192.43.185.150/VideoInput/1/h264/1
RTSP/1.0
CSeq: 3
User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.06.22)
Accept: application/sdp


Received 100 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 3
Server: SANYO RTSP Server
WWW-Authenticate: Basic realm="/"


Resending...
Sending request: DESCRIBE rtsp://admin:admin@192.43.185.150/VideoInput/1/h264/1
RTSP/1.0
CSeq: 4
Authorization: Basic YWRtaW46YWRtaW4=
User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.06.22)
Accept: application/sdp


Received 202 new bytes of response data.
Have received 202 total bytes of a DESCRIBE RTSP response; awaiting 676 bytes
more.
Received 676 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 4
Server: SANYO RTSP Server
Content-Base: rtsp://admin:admin@192.43.185.150/VideoInput/1/h264/1/
Content-Type: application/sdp
Content-Length: 676
Cache-Control: no-cache

v=0
o=- 14975361453390338159 14975361453391734024 IN IP4 192.43.185.150
s=Media Presentation
c=IN IP4 0.0.0.0
b=AS:1864
t=0 0
m=video 0 RTP/AVP 100
b=AS:1800
a=framerate:12.5
a=quality:8
a=control:trackID=0
a=rtpmap:100 H264/90000
a=fmtp:100 profile-level-id=640028; Reso=320:240; Scanning=0; TVSystem=pal;
CameraMode=standard; StreamID=0; BitRateMode=vbr; Gop=30; AspectRatio=4:3;
packetization-mode=1;
sprop-parameter-sets=Z2QAKK0AzlBQfsBEAABwgAAK/IOAAAATEtAAAC+vCIvfjAAAAwCYloAAAX14RF78CAAAAA==,aP48sA==;
m=data 0 RTP/AVP 111
a=rtpmap:111 octet-stream/1
a=fmtp:111 Mac=08007b885ad5; Model=VCC-HD2500P; TargetBitRate=900;
FirmVer=01030000; CameraSeries=2;


Opened URL "rtsp://admin:admin@192.43.185.150/VideoInput/1/h264/1", returning a
SDP description:
v=0
o=- 14975361453390338159 14975361453391734024 IN IP4 192.43.185.150
s=Media Presentation
c=IN IP4 0.0.0.0
b=AS:1864
t=0 0
m=video 0 RTP/AVP 100
b=AS:1800
a=framerate:12.5
a=quality:8
a=control:trackID=0
a=rtpmap:100 H264/90000
a=fmtp:100 profile-level-id=640028; Reso=320:240; Scanning=0; TVSystem=pal;
CameraMode=standard; StreamID=0; BitRateMode=vbr; Gop=30; AspectRatio=4:3;
packetization-mode=1;
sprop-parameter-sets=Z2QAKK0AzlBQfsBEAABwgAAK/IOAAAATEtAAAC+vCIvfjAAAAwCYloAAAX14RF78CAAAAA==,aP48sA==;
m=data 0 RTP/AVP 111
a=rtpmap:111 octet-stream/1
a=fmtp:111 Mac=08007b885ad5; Model=VCC-HD2500P; TargetBitRate=900;
FirmVer=01030000; CameraSeries=2;


Created receiver for "video/H264" subsession (client ports 49268-49269)
Unable to create receiver for "data/OCTET-STREAM" subsession: RTP payload format
unknown or not supported
Sending request: SETUP
rtsp://admin:admin@192.43.185.150/VideoInput/1/h264/1/trackID=0 RTSP/1.0
CSeq: 5
Authorization: Basic YWRtaW46YWRtaW4=
User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.06.22)
Transport: RTP/AVP;unicast;client_port=49268-49269


Received 185 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Server: SANYO RTSP Server
Session: 00316988;timeout=60
Transport:
RTP/AVP;unicast;client_port=49268-49269;server_port=2052-2053;ssrc=0019e388;mode="PLAY"


Setup "video/H264" subsession (client ports 49268-49269)
Created output file: "video-H264-1"
Sending request: PLAY rtsp://admin:admin@192.43.185.150/VideoInput/1/h264/1/
RTSP/1.0
CSeq: 6
Authorization: Basic YWRtaW46YWRtaW4=
User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.06.22)
Session: 00316988
Range: npt=0.000-


Received 140 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Server: SANYO RTSP Server
Session: 00316988
Range: npt=now-
RTP-Info: url=trackID=0;seq=1;rtptime=535442400


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



More information about the live-devel mailing list