Access the Watch URL by Passing a Nickname Without Restrictions or CAPTCHA
Updated: 2021-04-12 17:34:46
URL Description
1、提供POLYV直播用户,能够与网站集成,直接用URL访问,让用户无需设置昵称以及再次进行验证,可直接加入直播
2、URL支持https协议
3、使用URL访问时不经过微信授权
Access URL
http://live.polyv.cn/watch/{channelId}?name=xxxx&password=xxxx
Request Method
GET
Interface Constraints
- The POLYV live broadcast backend viewing condition must be set to "No Restrictions" or "CAPTCHA".
Request Parameter Description
| Parameter | Required | Type | Description |
|---|---|---|---|
| name | true | String | User nickname, used as the chat nickname after login. Chinese characters must be URL-encoded. |
| password | false | String | Verification string. When the backend is set to "No Restrictions", this parameter is ignored. When set to "CAPTCHA", this field should contain the viewing CAPTCHA. If not provided, the user will be redirected to the guidance page. |
Demonstration Examples
When the viewing condition is "No Restrictions" Access URL: https://live.polyv.cn/watch/134207?name=POLYV
When the viewing condition is "CAPTCHA" Access URL: https://live.polyv.cn/watch/134206?name=POLYV&password=123456
