dvoegeli / webmistc

WebMISTC - An open-source, real-time multimedia internet communication tool.
2 stars 10 forks source link

Ability to click on greyed out "Pause" button during presentation recording #16

Closed collinmcrae closed 6 years ago

collinmcrae commented 7 years ago

Found within the "Presentation" panel. Despite a "Cannot click" mouse cursor (circle with line through it) and a greyed out pause button the pause button is still clickable.

KyleHoobler commented 6 years ago

I'll look into it, and see if I can find the issue

KyleHoobler commented 6 years ago
toggleRecord(){
    const isRecording = !this.props.record_start;
    AppState.set('record_start', isRecording);
    Meteor.call('recordings.record', isRecording);
    isRecording ? AudioConference.startRecording() : AudioConference.stopRecording();
    }

It seems there should be a different method that does something similar to the recording button only specifically for the stop button that would make clicking this icon do nothing if not recording, and stop the function if it is in fact recording. This is in webmistc/imports/ui/app/components/features/Presentation.jsx

dvoegeli commented 6 years ago

Thanks, Kyle! I really appreciate you helping out with WebMISTC!

You're approach is very good, but also very close. Few suggestions: