1)海康
rtsp://admin:admin@192.168.11.11:554/h364/ch2/main/av_stream
2)宇视
rtsp://admin:admin@192.168.11.11/media/video1
3)大华
rtsp://admin:admin@192.168.11.11:554/cam/realmonitor?channel=1&subtype=0
channel:通道号
subtype:码流类型,主码流:0,子码流:1
codectype:有h364/h365/mjpeg
海康设备进行rtsp交互耗时200毫秒,大华设备进行rtsp交互耗时1500毫秒
海康SDP
v=0
o=- 1567002735415711 1567002735415711 IN IP4 192.168.28.130
s=Media Presentation
e=NONE
b=AS:5100
t=0 0
a=control:rtsp://192.168.28.130:554/h364/ch2/main/av_stream/
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:5000
a=recvonly
a=x-dimensions:1920,1080
a=control:rtsp://192.168.28.130:554/h364/ch2/main/av_stream/trackID=1
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=420029; packetization-mode=1; sprop-parameter-sets=Z00AKpY1QPAET8s3AQEBQAABwgAAV+QB,aO48gA==
m=audio 0 RTP/AVP 8
c=IN IP4 0.0.0.0
b=AS:50
a=recvonly
a=control:rtsp://192.168.28.130:554/h364/ch2/main/av_stream/trackID=2
a=rtpmap:8 PCMA/8000
a=Media_header:MEDIAINFO=494D4B48010200000400000111710110401F000000FA000000000000000000000000000000000000;
a=appversion:1.0
大华SDP
v=0
o=- 2252978120 2252978120 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:25.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D002A;sprop-parameter-sets=Z00AKpY1QPAET8s3AQEBQAAA+gAAMNQhAA==,aO48gAA=
a=recvonly
m=audio 0 RTP/AVP 8
a=control:trackID=1
a=rtpmap:8 PCMA/48000
a=recvonly
m=audio 0 RTP/AVP 8
a=control:trackID=2
a=rtpmap:8 PCMA/48000
a=recvonly
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/190941.html