Support virtual cameras in macOS application

Comments

13 comments

  • Melancholy

    I believe the fix is to petition Discord to build the app (well, the renderer helper) with the Disable Library Validation entitlement.  Without this entitlement, the app can't load third party libraries - which is what virtual cameras essentially are.

    The following workaround seems to work for me, based on limited testing so far - use at your own risk (may have security implications,  but I think it's safe enough - this is the same solution everyone is using with Zoom).  May also just break your Discord install (if so just reinstall).  You'll have to install Xcode first from the app store to get the codesign tool.

    codesign --remove-signature '/Applications/Discord.app/Contents/Frameworks/Discord Helper (Renderer).app/Contents/MacOS/Discord Helper (Renderer)'

    If this breaks your Discord (or if you just want to undo it) simply reinstall Discord.

    mel

    15
  • Catt0s

    Something dumb: It works on the web app. Just not the desktop app.

    5
  • Eden

    There's no need to install Xcode, you just need to open Terminal to use the codesign utility.

    2
  • TheGentlemanWake

    Melancholy that worked! Thank you!

    2
  • CyberKnoy

    I don't have an accessibility reason like Jay does, but supporting a virtual camera would allow me to use the advanced video features built in to the Logi Capture software to improve my video quality. Accessibility is a way more important reason for this feature.

     

    Maybe there could be a server permission to allow virtual cameras or not since I understand nefarious users can use them to broadcast content that the server might not want.

    1
  • lovee

    +1, I'm using ManyCam as a video resource while attending video meetings in Zoom, hope I can do the same in DIscord :)

    0
  • Borxy

    +1, I want to use my virtual camm from Ecamm live on Discord.

    I appreciate Melancholy solution but I prefer no to edit any code by myself. I think Discord could easily work on this.

    Thank you.

    0
  • jpfeifer14

    Melancholy, I owe you a beer.

    0
  • Jay

    To be clear, recent versions of Zoom DO support virtual cameras without any user modifications. (So perhaps they have built with the Disable Library Validation entitlement.)

    If Zoom can do it, Discord should be able to do it!

    (Insert Zoom security concerns here...but seriously they do have some supposedly good people on their security stuff now.)

    0
  • Dudders_95

    Thanks, Melancholy. This code worked for me. Copy and paste into terminal. Revealed all the cameras I needed. 

    0
  • GrandmaKJ

    +1, i'm ancient and want to use snap camera instead of taking the time to put on makeup.

    0
  • Thorstag

    This would also allow the use of NDI cameras

    0
  • niki_30

    sudo codesign --remove-signature /Applications/Discord.app/Contents/Frameworks/

    or

    sudo codesign -f -s - /Applications/Discord.app/Contents/Frameworks/Discord\ Helper\ \(Renderer\).app/

    It's works for me

    0

Please sign in to leave a comment.