Video RTSP用于将视频从客户端发送到服务器。这就是下面发生的事情吗?
我正在玩它的示例3,它将视频流从手机发送到Wowza服务器。Video RTSP用于将视频从客户端发送到服务器。这就是下面发生的事情吗?,video,rtsp,Video,Rtsp,我正在玩它的示例3,它将视频流从手机发送到Wowza服务器。 现在,我从对RTSP的有限了解中了解到,Announce可用于将视频从客户端发送到服务器。但是SETUP只能从将接收视频的对等客户端发送(但在这里它是由移动设备-发送方发送的) 问题: SETUP命令正在发送到接收器,是否正确(根据RTSP标准) 正在发生的沟通是针对Wowza的吗 Live555或Gstreamer是否支持客户端以某种方式向他们发送视频 注:第一个问题是标题 ANNOUNCE rtsp://192.169.6.
现在,我从对RTSP的有限了解中了解到,
Announce
可用于将视频从客户端发送到服务器。但是SETUP
只能从将接收视频的对等客户端发送(但在这里它是由移动设备-发送方发送的)
问题:
SETUP
命令正在发送到接收器,是否正确(根据RTSP标准)
ANNOUNCE rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 1
Content-Length: 257
Content-Type: application/sdp
v=0
o=- 0 0 IN IP4 null
s=Unnamed
i=N/A
c=IN IP4 192.169.6.151
t=0 0
a=recvonly
m=video 5006 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=420014;sprop-parameter-sets=J0IAFKaCxMQ=,KM48gA==;
a=control:trackID=1
RTSP/1.0 401 Unauthorized
CSeq: 1
Server: Wowza Streaming Engine 4.4.0 build17748
WWW-Authenticate: Digest realm="Streaming Server", nonce="9d9e1266ebfe1e5d8f48432af4b97669"
Session: 902878796;timeout=60
ANNOUNCE rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 2
Content-Length: 257
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
Session: 902878796
Content-Type: application/sdp
v=0
o=- 0 0 IN IP4 null
s=Unnamed
i=N/A
c=IN IP4 192.169.6.151
t=0 0
a=recvonly
m=video 5006 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=420014;sprop-parameter-sets=J0IAFKaCxMQ=,KM48gA==;
a=control:trackID=1
RTSP/1.0 200 OK
CSeq: 2
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Session: 902878796;timeout=60
SETUP rtsp://192.169.6.151:1935/live/android_test/trackID=1 RTSP/1.0
Transport: RTP/AVP/UDP;unicast;client_port=5002-5003;mode=receive
CSeq: 3
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 3
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Expires: Fri, 4 Mar 2016 11:31:22 IST
Transport: RTP/AVP/UDP;unicast;client_port=5002-5003;mode=receive;source=192.169.6.151;server_port=6974-6975
Date: Fri, 4 Mar 2016 11:31:22 IST
Session: 902878796;timeout=60
RECORD rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
Range: npt=0.000-
CSeq: 4
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 4
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Range: npt=now-
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 5
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 5
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 6
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 6
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 7
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 7
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 8
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 8
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 9
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 9
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 10
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 10
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 11
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 11
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 12
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 12
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 13
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 13
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 14
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 14
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 15
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 15
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
OPTIONS rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 16
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"
RTSP/1.0 200 OK
CSeq: 16
Server: Wowza Streaming Engine 4.4.0 build17748
Cache-Control: no-cache
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD, GET_PARAMETER
Supported: play.basic, con.persistent
Session: 902878796;timeout=60
TEARDOWN rtsp://192.169.6.151:1935/live/android_test RTSP/1.0
CSeq: 17
Content-Length: 0
Session: 902878796
Authorization: Digest username="User1",realm="Streaming Server",nonce="9d9e1266ebfe1e5d8f48432af4b97669",uri="rtsp://192.169.6.151:1935/live/android_test",response="93271d1b62097f92d85b34f65cdd89af"