diff --git a/pade/changelog.html b/pade/changelog.html index 8a166b93..c3e29944 100644 --- a/pade/changelog.html +++ b/pade/changelog.html @@ -56,6 +56,7 @@

  • Fixed Issue #252 - Add custom confetti settings to Admin console
  • Fixed Issue #253 - Add support for the Badging API
  • Fixed Issue #256 - Some date-time languages are missing
  • +
  • Fixed Issue #260 - Some cameras seem to appear black on the left and right
  • 1.3.1 -- January 31, 2021

    diff --git a/web/src/main/webapp/custom_ofmeet.js b/web/src/main/webapp/custom_ofmeet.js index 31741e06..b6903911 100644 --- a/web/src/main/webapp/custom_ofmeet.js +++ b/web/src/main/webapp/custom_ofmeet.js @@ -525,19 +525,14 @@ var ofmeet = (function(of) } if (interfaceConfig.OFMEET_RECORD_CONFERENCE && !config.webinar) { - navigator.mediaDevices.getUserMedia({ audio: true, video: true }).then(function (stream) { - recordingVideoTrack[APP.conference.getMyUserId()] = stream; - recordingAudioTrack[APP.conference.getMyUserId()] = stream; + createRecordButton(); + createPhotoButton(); + createDesktopButton(); - createRecordButton(); - createPhotoButton(); - createDesktopButton(); - - if (APP.conference.getMyUserId()) { - showClock(); - clockTrack.joins = (new Date()).getTime(); - } - }); + if (APP.conference.getMyUserId()) { + showClock(); + clockTrack.joins = (new Date()).getTime(); + } } if (interfaceConfig.OFMEET_TAG_CONFERENCE && !config.webinar) { @@ -601,7 +596,7 @@ var ofmeet = (function(of) evt.stopPropagation(); if (!of.recording) { - startMeetingRecorder(); + startRecorder(startMeetingRecorder); } else { stopRecorder(); } @@ -662,7 +657,7 @@ var ofmeet = (function(of) evt.stopPropagation(); if (!of.recording) { - startDesktopRecorder(); + startRecorder(startDesktopRecorder); } else { stopRecorder(); } @@ -1827,6 +1822,15 @@ var ofmeet = (function(of) createAnchor(htmlFile, blob); } + function startRecorder(recorder) + { + navigator.mediaDevices.getUserMedia({ audio: true, video: true }).then(function (stream) { + recordingVideoTrack[APP.conference.getMyUserId()] = stream; + recordingAudioTrack[APP.conference.getMyUserId()] = stream; + recorder(); + }); + } + function startMeetingRecorder() { console.debug("ofmeet.js startMeetingRecorder");