summaryrefslogtreecommitdiff
path: root/src/examples/audio.json
blob: 68baeb937fdd7814101131a2e7d68a803c598286 (plain) (blame)
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
{
  "globals":{
     "templates": "default",
     "version": "0.10.0",
     "name": "audio-only",
     "description": "Audio only test",
     "domain": "spreadspace.org",
     "rrd-dir": "/var/lib/flumotion/rrd",
     "manager": {
        "machine": "calypso",
        "host": "89.106.215.48",
        "port": 7531,
        "transport": "ssl"
      },
     "formats": {
        "ogg": { "muxer": "ogg", "audio": "vorbis" }
      },
     "profiles": {
        "high": { "audio": 160 },
        "medium": { "audio": 128 },
        "low": { "audio": 96 }
      },
     "workers": {
       "calypso": [ "input-alsa", "encoder-alsa-vorbis-160", "encoder-alsa-vorbis-128", "encoder-alsa-vorbis-96",
                    "muxer-audio-ogg-high", "muxer-audio-ogg-medium", "muxer-audio-ogg-low", "streamer-local1" ]
     }
   },
  "inputs": {
     "alsa": {
       "type": "soundcard",
       "master": true,
       "properties": {
         "samplerate": 48000,
         "depth": 16,
         "channels": 2
        }
     }
   },
  "muxes": {
    "audio": {
       "audio": "alsa",
       "formats": {
         "ogg": [ "high", "medium", "low" ]
       }
     }
   },
  "streams": {
    "streamer-local": {
       "muxes": [ "audio" ],
       "type": "http", "count": 1, "port": 8000,
       "max-con": 5, "burst-on-connect": 5,
       "hostname": "audio"
     }
   }
}