@@ -3,21 +3,22 @@ A rtsp client write in python
3
3
4
4
Usage: rtsp-client.py [options] url
5
5
6
+ In running, you can control play by input "forward","backward","begin","live","pause"
7
+ or "play" with "range" and "scale" parameter, such as "play range:npt=beginning- scale:2"
8
+ You can input "exit","teardown" or ctrl+c to quit
9
+
10
+
6
11
Options:
7
12
-h, --help show this help message and exit
8
13
-t TRANSPORT, --transport=TRANSPORT
9
14
Set transport type when SETUP: tcp, udp, tcp_over_rtp,
10
15
udp_over_rtp[default]
11
16
-d DEST_IP, --dest_ip=DEST_IP
12
- Set dest ip of udp data transmission, default is
13
- 127.0.0.1
17
+ Set dest ip of udp data transmission, default use same
18
+ ip with rtsp
14
19
-p CLIENT_PORT, --client_port=CLIENT_PORT
15
20
Set client port range of udp, default is "10014-10015"
16
21
-n NAT, --nat=NAT Add "x-NAT" when DESCRIBE, arg format
17
22
"192.168.1.100:20008"
18
23
-r, --arq Add "x-zmssRtxSdp:yes" when DESCRIBE
19
24
-f, --fec Add "x-zmssFecCDN:yes" when DESCRIBE
20
-
21
- In running, you can control play by input "forward","backward","begin","live","pause"
22
- or "play" with "range" and "scale" parameter, such as "play range:npt=beginning- scale:2"
23
- You can input "exit","teardown" or ctrl+c to quit
0 commit comments