- put rec and playback required params in properties file
This commit is contained in:
parent
1e27b3e1fe
commit
dda58fe6bb
@ -99,3 +99,14 @@ beans.presentationService.testPresentationName=appkonference
|
||||
beans.presentationService.testUploadedPresentation=appkonference.txt
|
||||
# Test voiceBridge number
|
||||
beans.dynamicConferenceService.testVoiceBridge=99999
|
||||
|
||||
beans.dynamicConferenceService.scriptsHome=/home/firstuser/python/src
|
||||
beans.dynamicConferenceService.audioRecDir=/var/freeswitch/meetings
|
||||
beans.dynamicConferenceService.presentationDir=${presentationDir}
|
||||
beans.dynamicConferenceService.archiveDir=/var/bigbluebutton/archive
|
||||
beans.dynamicConferenceService.redisHost=192.168.0.166
|
||||
beans.dynamicConferenceService.redisPort=6379
|
||||
beans.dynamicConferenceService.ingestDir=/var/bigbluebutton/ingest
|
||||
beans.dynamicConferenceService.publishDir=/var/bigbluebutton/recordings
|
||||
beans.dynamicConferenceService.playbackHost=192.168.0.166
|
||||
|
||||
|
@ -39,6 +39,17 @@ public class DynamicConferenceService implements IDynamicConferenceService {
|
||||
def testConferenceMock
|
||||
def recordingDir
|
||||
def recordingFile
|
||||
|
||||
/** For record and playback **/
|
||||
def scriptsHome
|
||||
def audioRecDir
|
||||
def presentationDir
|
||||
def archiveDir
|
||||
def redisHost
|
||||
def redisPort
|
||||
def ingestDir
|
||||
def publishDir
|
||||
def playbackHost
|
||||
|
||||
// TODO: need to remove use of DynamicConference and make it use "Room.groovy" instead
|
||||
// so that both apps and web are using common domain objects and we don't map between them
|
||||
@ -209,8 +220,8 @@ public class DynamicConferenceService implements IDynamicConferenceService {
|
||||
|
||||
}
|
||||
|
||||
private void startIngestAndProcessing(meetingId) {
|
||||
String COMMAND = "python /home/firstuser/python/src/ingestandproc.py -m" + meetingId + " -a /var/freeswitch/meetings -p /var/bigbluebutton -r /var/bigbluebutton/archive -e 192.168.0.166 -o 6379 -i /var/bigbluebutton/ingest -b /var/bigbluebutton/recordings";
|
||||
private void startIngestAndProcessing(meetingId) {
|
||||
String COMMAND = "python ${scriptsHome}/ingestandproc.py -m ${meetingId} -a ${audioRecDir} -p ${presentationDir} -r ${archiveDir} -e ${redisHost} -o ${redisPort} -i ${ingestDir} -b ${publishDir} -s ${scriptsHome} -k ${playbackHost}"
|
||||
|
||||
try {
|
||||
Process p = Runtime.getRuntime().exec(COMMAND);
|
||||
|
Loading…
Reference in New Issue
Block a user