-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsample-producer.cfg
49 lines (46 loc) · 1.22 KB
/
sample-producer.cfg
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
general = {
log_level = "default";
log_file = "ndnrtc-client.log";
log_path = "/tmp";
use_fec = true;
use_avsync = true;
ndnnetwork ={
connect_host = "localhost";
connect_port = 6363;
};
};
produce = {
streams = ({
type = "video";
name = "camera";
segment_size = 1000;
freshness = { // freshness (in ms) for various data types
metadata = 15; // metadata freshness
sample = 15; // sample freshness (audio, video delta)
sampleKey = 900; // key sample freshness (video key)
};
source = "tests/test-source-320x240.argb";
sync = "sound";
threads = ({
name = "tiny";
coder = {
frame_rate = 30;
gop = 30;
start_bitrate = 1000;
max_bitrate = 10000;
encode_height = 240;
encode_width = 320;
drop_frames = true;
};
});
},
{
type = "audio";
name = "sound";
thread = "pcmu";
segment_size = 1000;
freshness = 2000;
capture_device = 0;
}
);
};