diff options
author | MaZderMind | 2014-12-12 01:01:22 +0100 |
---|---|---|
committer | MaZderMind | 2014-12-12 14:34:22 +0100 |
commit | ebc241f23de5af08d55a826646102b0afb0e54d3 (patch) | |
tree | 3168b44aa619ac0b60fb8b3300e7c1fa384ba3fe | |
parent | bde507f9aac92f3c3beb2937ac23a4416d5f5120 (diff) |
higher bitrates for party audio streams
Diffstat (limited to '')
-rw-r--r-- | lib/config.php | 4 | ||||
-rw-r--r-- | template/assemblies/switcher/party.phtml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/config.php b/lib/config.php index c5bed0c..6bed258 100644 --- a/lib/config.php +++ b/lib/config.php @@ -33,8 +33,12 @@ $GLOBALS['CONFIG']['FORMAT_TEXT'] = array( 'hd' => '1920x1080, h264+aac, 3 MBit/s', 'sd' => '1024x576, h264+aac, 1 MBit/s', 'webm' => '1024x576 vp8+vorbis in webm, 1 MBit/s', + 'mp3' => 'MP3, 128 kBit/s', 'opus' => 'Opus (RFC 6716), 96 kBit/s', + + 'party-mp3' => 'MP3, 320 kBit/s', + 'party-opus' => 'Opus (RFC 6716), 128 kBit/s', ); // various room-name nappings diff --git a/template/assemblies/switcher/party.phtml b/template/assemblies/switcher/party.phtml index 9a60556..64c3d87 100644 --- a/template/assemblies/switcher/party.phtml +++ b/template/assemblies/switcher/party.phtml @@ -2,7 +2,7 @@ <ul> <? foreach(array('mp3', 'opus') as $iter): ?> <li> - <span class="label filetype" title="<?=h(format_text($iter))?>"><?=h(strtoupper($iter))?></span> + <span class="label filetype" title="<?=h(format_text('party-'.$iter))?>"><?=h(strtoupper($iter))?></span> <a href="<?=h(link_stream('audio', $room, $iter))?>"> <span class="fa fa-music"></span> livemusic |