Polyv Help Center

Help Center

Webinar Monitoring Account Single Sign-On

Updated: 2022-08-02 11:02:01

Feature Overview

When accessing the webinar monitoring page, the URL must include specified parameters. After the webinar system verifies the request's legitimacy, it directly enters the webinar monitoring polling page.

Single Sign-On Process Details

  1. Obtain the monitoring account password via the API interface.
  2. When requesting the Polyv webinar monitoring page, include relevant parameters, such as: https://meet.polyv.net/monitor?channelId=2424333&ts=1628126283856&sign=6a90485fe4682c0c7621b388df2eb744&id=18765
  3. The webinar system compares the value of the sign parameter submitted by the user to determine its legitimacy. After a successful request, the link becomes invalid (the sign can only be used once). If valid, it proceeds to the Polyv webinar. If verification fails, an error page is displayed.

Request Parameter Description

Parameter Required Type Description
channelId true String Channel ID
ts true String Current 13-digit millisecond timestamp, valid within 3 minutes
sign true String Signature for verification. Generation rule: MD5 encryption of password + channelId + password + ts + id (password can be obtained via the Query Polling Monitoring Account API). Sign verification is case-insensitive.
id true String Monitoring polling account (can be obtained via the Query Polling Monitoring Account API)

Code Example (Java)

    
    public static void main(String[] args) {
        String url = "https://meet.polyv.net/monitor";

        String PASSWORD = "password";
        String channelId = "2424333";
        String id = "18765";
        String ts = String.valueOf(System.currentTimeMillis());
        String sign = PASSWORD + channelId + PASSWORD + ts + id;
        sign = LiveSignUtil.md5Hex(sign);
        url += "?channelId="+channelId+"&ts="+ts+"&sign="+sign+"&id="+id;
        //浏览器直接访问url即可进入研讨会监播页
        System.out.println(url);
    }

Notes

  1. The same monitoring account cannot be logged in from multiple locations simultaneously. After logging in, attempting to log in again elsewhere before logging out will fail.

Error Codes and Descriptions

Error Code Description
10641 The current account/channel does not support polling monitoring functionality
10642 The live stream has not started. Please start the live stream before entering monitoring
10643 Incorrect account or password. Please confirm
10645 This monitor is already logged in
10646 Timestamp has expired
10647 Duplicate sign
10648 Incorrect sign
联系客服,在线咨询
在线咨询