-
Notifications
You must be signed in to change notification settings - Fork 14
/
configuration.rtmp.yml
executable file
·55 lines (44 loc) · 1.21 KB
/
configuration.rtmp.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
# ScreenStreamer by YangHaitao
# log level
# a value of (DEBUG, INFO, WARN, ERROR)
log_level: INFO
log_path: logs
# host and port that you will use other device to request this service
server_host: 0.0.0.0
server_port: 1935
# how many threads you want to run goroutines
threads: 5
# target fps
fps: 30
# write_frames_timeout, write frames deadline duration, default is 500ms
write_frames_timeout: 500
# bit_rate, default is 64M
bit_rate: 64
# full_screen, default is true
full_screen: true
# screenshot image
# left offset, 0 is default
# top offset, 0 is default
# width, 0 is default, means auto
# height, 0 is default, means auto
left: 0
top: 0
width: 0
height: 0
# resize function is not work now, so ignore this two options
resize_width: 0
resize_height: 0
# don't change this options, if you don't know how it works
buffer_queue_size: 0
# to_sbs, convert 2d image to side-by-side images
to_sbs: false
# cursor, capture cursor or not
cursor: false
# alpha is an option to make the fps stable
# every frame sleep +/- (alpha / 100) * (1 / fps) senonds
alpha: 15
# how many YCbCr converter to work for one image
convert: 4
# the application work mode
# single, just a worker with shoter & converter functions
mode: single