Hi @iszuddin,
Thank you for your interest in the Agora Video for WordPress plugin. Sorry to hear your are running into issues. Please take a look at this QuickStart Guide, and make sure you are providing the plugin with the correct credentials.
Within the Advanced Setup section
Advanced setup
- Create or Login to an Agora developer account (https://console.agora.io)
- Create a project and take note of the App ID and App Certificate keys
- Navigate to “Products and Usage” page. Enable RTMP and Cloud Recording
- Navigate to the Dashboard API section of your Agora Console
(https://console.agora.io/restfulApi) and take note of your Customer ID and Customer Certificate keys.
- Navigate to the plugin’s Settings section and input App ID,App Certificate, Customer ID, and Customer Certificate keys
With regard to the AWS credentials, make sure you use the bucket name and not the full ARN (arn:aws:s3:::<bucket-name>), as this will cause issues.
If you are still facing issues, please feel free to reach out to [email protected] and we can set up a meeting to get your issue resolved.
I found a bug. But I am not too sure how to contribute to the code on WordPress.
This is where the error lies.
Too few arguments to function WP_Agora_Public::generateNewToken(), 2 passed in class-wp-includes/agora-cloud-recording.php on line 186 and exactly 3 expected.
I had a look at /public/class-wp-agora-io-public.php:122 where the class was defined. The last parameter should either be ‘rtm’ or something else. Trying ‘rtm’, it didn’t work. Changing the value for the last parameter with ” worked.
So I put a default value for the function in the class.
/wp-content/plugins/wp-agora-io/public/class-wp-agora-io-public.php line: 122
public function generateNewToken($channel_id, $uid, $tokenType = '' ) {
Also … I went through that docs and medium. You don’t have Customer Certificate in your dashboard panel anymore. Only Customer ID and Secret. Maybe there should be an update in your documentation with the update in your dashboard panel.
Hi @iszuddin,
Thank you for pointing out this outdated name. We will update the Quickstart guide.
With regard to the error, it seams that you have resolved this based on your other post.