-
Notifications
You must be signed in to change notification settings - Fork 33
/
settings.php
59 lines (41 loc) · 2.63 KB
/
settings.php
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
<?php
$rtmp_server = "rtmp://localhost:1935/videowhisper-live";
// rtmp[s]://[your-server-ip-or-domain]/[application]
// A supported RTMP server is compulsory. See https://www.videowhisper.com/?p=Requirements for details.
$rtmp_amf = "AMF3";
// AMF3 : Red5, Wowza, FMIS3, FMIS3.5
// AMF0 : FCS1.5, FMS2
// blank for flash default
$wsURLWebRTC = 'wss://[wowza-server-with-ssl]:[port]/webrtc-session.json';
// Wowza WebRTC WebSocket URL (wss with SSL certificate)
$applicationWebRTC = '[application-name]';
// Wowza Application Name (configured or WebRTC usage)
$rtmfp_server="rtmfp://stratus.adobe.com/f1533cc06e4de4b56399b10d-1a624022ff71/";
// RTMFP server for negotiangin P2P connections where possible
// Get your own independent developer key/address from: https://www.adobe.com/cfusion/entitlement/index.cfm?e=stratus
$tokenKey = "VideoWhisper";
// This can be used to secure access as configured in RTMP server settings (secureTokenSharedSecret).
// Only edit after configuring RTMP side with same key.
$ban_names=Array("ban_name1", "ban_name2");
//ban channel or user names
$ffmpeg_call = '/usr/local/bin/ffmpeg -analyzeduration 0 -vcodec copy -acodec libfaac -ac 2 -ar 22050 -ab 96k -threads 1';
//transcode streams
$rtmp_server_ffmpeg = $rtmp_server;
//configure RTMP for ffmpeg if using RTMPS for main
$httpstreamer="http://localhost:1935/videowhisper/";
//path for HTTP Live Stre streaming usually available with Wowza hosting if packetizers are enabled
//use http://www.videowhisper.com/?p=Wowza+Media+Server+Hosting or see http://www.wowza.com/forums/content.php?217#cupertinostreaming
$httpdash = "http://localhost:1935/videowhisper-ip/";
//path for MPEG-DASH streaming usually available with Wowza hosting if packetizers are enabled
//use http://www.videowhisper.com/?p=Wowza+Media+Server+Hosting or see https://www.wowza.com/forums/content.php?508-How-to-do-MPEG-DASH-streaming
//$manualArchiving = 'http://[username]:[password]@[wowza-ip-address]:8086/livestreamrecord?app=videowhisper';
//manual archiving as described at https://www.wowza.com/forums/content.php?123-How-to-record-live-streams-(HTTPLiveStreamRecord)
//also requires crossdomain.xml on Wowza https://www.wowza.com/forums/showthread.php?23728-Can-t-set-crossdomain-xml-to-allow-access-to-connectioncounts-from-javascript
//comment line to disable
//usage limit (per channel and per viewer)
//default 2 hours per week limit
$maximumSessionTime=7200000; //7200000 ms = 2h; 0 for unlimited
$resetTime = 7 * 3600 * 24; //weekly
$limitChannel=1; //counts total channel time (sum of time online for broadcaster + viewers)
$limitUser=1; //counts total view time per user (watching all channels)
?>