steveseguin / electroncapture

Playback video in a frameless electron app for screen-sharing and window capture
GNU General Public License v3.0
325 stars 37 forks source link

Is it possible to mute window from start? #94

Closed katoquro closed 4 months ago

katoquro commented 4 months ago

I run ElectronCapture from the command line to open a window with the exact size and URL. However, when I run the link with a solo view I have to mute it to not hear me twice (parallel to monitor sound). Can I mute it from the very beginning with something CLI parameter (I didn't find a corresponding)? Thanks for the great app.

steveseguin commented 4 months ago

I don't have an Electron Capture specific command line option to cause a window to be loaded by default in a muted state. It's possible I could add it and release an updated binary with that change.

Alternatively

&volume or &speakermute on the view link might allow you to unmute it via vdo.ninja. The video control bar can be made visible via URL parameter also, or holding CTRL, right click the video, show controls, and then un-mute. You can also press ALT + A , with the window in focus, to trigger video to toggle the speaker mute on and off without the control bar being visible.

You can also add &noaudio to disable audio entirely for that view link.

katoquro commented 4 months ago

Thanks for the swift response. Looks like &noaudio is what I need. Am I right that will not affect my co-host because they hear me via the vdoninja directly?

steveseguin commented 4 months ago

&noaudio will not impact outgoing audio. It will just tell remote peers not to send that specific page audio tracks, saving bandwidth, so its better than muting if you don't need to unmute.