Launch Live Client from Web Page
Updated: 2022-05-24 14:30:02
Description
提供网页启动客户端的一种支持,让您快速从页面中启动polyv直播客户端,而不必去应用程序列表中查找
Launching the New (4.x) Client
Note: Only applicable to the new client; the old client will fail to open.
const client4xStart = 'polyvlive';
const url = `${client4xStart}://start?channelId=${channelId}&passwd=${password}&pdn=api.polyv.net`;
window.location.assign(url);
Launching the Old Client (Currently compatible with both old and new versions; support will be removed in the new client)
const clientStart = 'polyvlive';
const url = `${clientStart}:/${channelId}&${password}`;
window.location.assign(url);
