We Are Implementing The Agora Screen Sharing And Getting Error Dynamic_use_static_key
I am unable to understand the Error meaning currently using the demo code Sample code which I am using to share the screen and I also install the chrome extension which is require
Solution 1:
DYNAMIC_USE_STATIC_KEY error is thrown by Agora RTC SDK when the channel is using an appid which has certificates enabled but instead of passing the appropriate token, null is being passed.
You need to use a token server to generate a dynamic token and pass it onto channelKey instead of null
.
You can find how to setup a token server below. https://docs.agora.io/en/Interactive%20Broadcast/token_server_cpp?platform=CPP
Alternatively, you can generate a temporary token in the console (https://sso.agora.io/en/login) and pass it onto channelKey for getting started with development.
Post a Comment for "We Are Implementing The Agora Screen Sharing And Getting Error Dynamic_use_static_key"