![]() ![]() If you set ip, but not cname or uid, then the users with this ip cannot publish audio or video in any channel of the app. When you set privileges as publish_audio or publish_video, the rule works as follows: If you set cname and uid, but not ip, then the user with the user ID cannot join the channel specified by the cname field. If you set uid, but not cname or ip, then the user with the user ID cannot join any channel in the app. Using cname as a filter field directly blocks the channel with the cname. If you set cname, but not uid or ip, then no one can join the channel specified by the cname field. Using ip as a filter field may incorrectly block users who should not be blocked, for example, in a scenario where multiple users share an IP address. If you set ip, but not cname or uid, then all users with this ip cannot join any channel in the app. When you set privileges as join_channel, the rule works as follows: The banning rule works based on the following three fields: cname, uid, and ip. The user privileges ( privileges) that can be banned include the following: Banning user privileges Creates a rule Ĭreates a rule of banning specified user privileges. If you are frequency limited when calling the APIs, please see How can I avoid being frequency limited when calling Agora Server RESTful APIs to optimize API call frequency. Call frequency limit įor each Agora account (not each App ID), the call frequency of each online channel statistics query API is no more than 20 queries per second, and the call frequency of each other API is no more than 10 queries per second. Before sending HTTP requests, you must generate a Base64-encoded credential with the Customer ID and Customer Secret provided by Agora, and pass the credential to the Authorization field in the HTTP request header. The Agora Channel Management RESTful APIs only support HTTPS. All request URLs and request bodies are case-sensitive. All requests and responses are in JSON format. The Content-Type field in all HTTP request headers is application/json. See Ensure service reliability for alternate domain names. Domain Īll requests are sent to the domain name:. This section provides basic information about the Agora Channel Management RESTful APIs. This page provides detailed help for the Agora Channel Management RESTful APIs. import React, from "./././permissions/selectors" Ĭonst = useState(false) Ĭonst = useState(null) Ĭonst videoInputDeviceId = useSelector(selectVideoInputDeviceId) Ĭonst tracks = await AgoraRTC.In addition to the Voice/Video SDK integrated into the app client, Agora provides RESTful APIs for channel management, with which you can manage users in the channel and query channel statistics at the app server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |