Skip to content

Commit f2fa80f

Browse files
committed
revert transport_type_list change
1 parent 3f344cb commit f2fa80f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Getting Started
1212
myrtsp.do_describe()
1313
while myrtsp.state != 'describe':
1414
time.sleep(0.1)
15+
myrtsp.TRANSPORT_TYPE_LIST = ['rtp_over_udp','rtp_over_tcp']
1516
myrtsp.do_setup(track_id)
1617
while myrtsp.state != 'setup':
1718
time.sleep(0.1)

rtsp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class RTSPURLError(RTSPError): pass
3939
class RTSPNetError(RTSPError): pass
4040

4141
class RTSPClient(threading.Thread):
42-
TRANSPORT_TYPE_LIST = ['ts_over_tcp','rtp_over_tcp','ts_over_udp','rtp_over_udp']
42+
TRANSPORT_TYPE_LIST = []
4343
NAT_IP_PORT = ''
4444
ENABLE_ARQ = False
4545
ENABLE_FEC = False

0 commit comments

Comments
 (0)