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?

Comments

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 0.3.7.0.4130100.f6

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

    0

Please sign in to leave a comment.