Skip to main content
Search our knowledge base

When using the Agora SDK, how do I turn the local camera off before joining a channel, and how do I enable and disable the local camera during a call?


1 comment

  • Boris Novikov

    I'm getting error in WebGL build if I call EnableLocalVideo before joining a channel. In editor it works fine. SDK

    AgoraRTCException: AgoraRTCError INVALID_OPERATION: Can't unpublish stream, haven't joined yet! 


Please sign in to leave a comment.