Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新加坡区域 https://isgpopen.ezvizlife.com/api/service/appKey/get 404 #293

Open
DDDWY opened this issue Feb 14, 2025 · 1 comment
Open

Comments

@DDDWY
Copy link

DDDWY commented Feb 14, 2025

前端代码:

const initEZUIKitPlayer = (videoId: string, url: string) => { setTimeout(() => { const container = document.getElementById(player-${videoId}); if (!container) { console.warn(Container for video ${videoId} not found`);
return;
}

  if (players.current[videoId]) {
    players.current[videoId].destroy();
  }
  players.current[videoId] = new EZUIKit.EZUIKitPlayer({
    id: `player-${videoId}`,
    url: url,
    accessToken: accessToken,
    template: 'pcLive', // 设置为适用于PC端的直播模式
    width: 350,
    height: 300,
    language: 'en',
    env: {
      domain: 'https://isgpopen.ezvizlife.com', // 如果是私有化部署,可以配置其他域名
    },
  });
}, 100);

};`

组件会调用下面的接口:
Request URL:
https://isgpopen.ezvizlife.com/api/service/appKey/get?checkToken=at.47ouayu1ayg0g2ax6c6ulm7u2nxsh4dv-2obnos25nz-1l46afd-4upbfwso2&sn=AZ2284919&cno=1
Request Method:
GET
Status Code:
404 Not Found

我不明白是我哪里写错了吗,可以帮我看看吗

@freeshineit
Copy link
Collaborator

接口可能还没同步到海外。 周一我问一下服务端同学。应该不影响播放吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants