-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrtsp-simple-server.yml
100 lines (66 loc) · 1.67 KB
/
rtsp-simple-server.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
logLevel: info
logDestinations: [stdout]
logFile: rtsp-simple-server.log
readTimeout: 10s
writeTimeout: 10s
readBufferCount: 2048
externalAuthenticationURL:
api: no
apiAddress: 127.0.0.1:9997
metrics: no
metricsAddress: 127.0.0.1:9998
pprof: no
pprofAddress: 127.0.0.1:9999
runOnConnect:
runOnConnectRestart: no
rtspDisable: no
protocols: [udp, multicast, tcp]
# Available values are "no", "strict", "optional".
encryption: "no"
rtspAddress: :554
rtspsAddress: :555
rtpAddress: :8000
rtcpAddress: :8001
multicastIPRange: 224.1.0.0/16
multicastRTPPort: 8002
multicastRTCPPort: 8003
serverKey: server.key
serverCert: server.crt
authMethods: [basic, digest]
readBufferSize: 2048
rtmpDisable: no
rtmpAddress: :1935
hlsDisable: no
hlsAddress: :8888
hlsAlwaysRemux: no
hlsSegmentCount: 3
hlsSegmentDuration: 1s
hlsAllowOrigin: '*'
paths:
video:
source: publisher
sourceProtocol: automatic
sourceAnyPortEnable: no
sourceFingerprint:
sourceOnDemand: no
sourceOnDemandStartTimeout: 10s
sourceOnDemandCloseAfter: 10s
sourceRedirect:
disablePublisherOverride: no
fallback:
publishUser:
publishPass:
publishIPs: []
readUser: admin
readPass: admin
readIPs: []
runOnInit: ffmpeg -re -stream_loop -1 -i /var/content/video.mp4 -c copy -f rtsp -rtsp_transport tcp rtsp://192.168.0.89:554/video
runOnInitRestart: yes
runOnDemand:
runOnDemandRestart: no
runOnDemandStartTimeout: 10s
runOnDemandCloseAfter: 10s
runOnPublish:
runOnPublishRestart: no
runOnRead:
runOnReadRestart: no