VLC RTP Video Streaming over HTTP

http://pdn.pelco.com/content/rtp-video-streaming-over-http

 

To display the stream using VLC, we need to configure VLC to use HTTP tunneling.

Launch VLC and set the parameters as follows:

Preference > Input / Codecs > Demuxers > RTP/RTSP

Click to select "Tunnel RTSP and RTP over HTTP". Also set theHTTP tunnel port to 86.

RTP Settings.png

Next, in VLC select File > Open Network to open a stream using the URL returned by the camera. However, there are two important differences: specify RTSP instead of HTTP as the protocol, and do not include the port number in the URL string.

Network URL.png

Playlist.png

Next, the camera responds to the POST with RTSP and RTP setup information, and then starts streaming video.

RTSP/1.0 200 OK
CSeq: 2
Date: Thu, Jan 08 1970 22:35:55 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER

RTSP/1.0 200 OK
CSeq: 3
Date: Thu, Jan 08 1970 22:35:55 GMT
Content-Base: rtsp://192.168.0.148/stream1/
Content-Type: application/sdp
Content-Length: 596

v=0
o=- 108445472 1 IN IP4 192.168.0.148
s=Session streamed by "Pelco Streaming Server"
i=stream1
t=0 0
a=tool:LIVE555 Streaming Media v2007.07.09
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "Pelco Streaming Server"
a=x-qt-text-inf:stream1
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKK0AzlAUAW7ARAAALuAACvyBgAAARKoAAAtxsIvfjAAAAwIlUAAAW42EXvxo,aP48sA==
a=label:pelco.1.1.1
a=extmap:1 http://pelco.com/042010/ext.htm#lowLatency
a=control:track1
RTSP/1.0 200 OK
CSeq: 4
Date: Thu, Jan 08 1970 22:35:55 GMT
Transport: RTP/AVP/TCP;unicast;destination=192.168.0.100;source=192.168.0.148;interleaved=0-1
Session: 138

RTSP/1.0 200 OK
CSeq: 5
Date: Thu, Jan 08 1970 22:35:55 GMT
Range: npt=0.000-
Session: 138
RTP-Info: url=rtsp://192.168.0.148/stream1/track1;seq=39615;rtptime=1666070395

$.......cN..z.]m\A.Hoj..9/..~..........EV\.
..}_)...#...."..*.7%.....~.'..$s.....
..f...5.....\x.v.'....j'n.....Y^.W.7.A.H.!...3.Q...a.8#I....,.../\?n...,7'...e.b.)%.Z+..wHc$%.0.....f.[.Ws..lTi.....x~r.J.P.....2..2...u....X..^5=5.....Y].M.............%.

. . .

Outside.png

Using the information presented here you can start a RTP/RTSP session that uses HTTP to transport the video traffic.

- See more at: http://pdn.pelco.com/content/rtp-video-streaming-over-http#sthash.XeCHaXwM.dpuf

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值