{"id":21518155,"url":"https://github.com/ucloud/urtc-js-demo","last_synced_at":"2025-08-13T14:09:48.484Z","repository":{"id":51064938,"uuid":"188009132","full_name":"ucloud/urtc-js-demo","owner":"ucloud","description":"urtc js 端demo，demo网址：https://demo.urtc.com.cn/","archived":false,"fork":false,"pushed_at":"2021-05-25T08:27:28.000Z","size":1452,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-26T19:05:49.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ucloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-22T09:43:51.000Z","updated_at":"2023-05-23T03:15:28.000Z","dependencies_parsed_at":"2022-09-04T03:40:52.134Z","dependency_job_id":null,"html_url":"https://github.com/ucloud/urtc-js-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ucloud/urtc-js-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Furtc-js-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Furtc-js-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Furtc-js-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Furtc-js-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ucloud","download_url":"https://codeload.github.com/ucloud/urtc-js-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucloud%2Furtc-js-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270254160,"owners_count":24552985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T00:50:21.652Z","updated_at":"2025-08-13T14:09:48.448Z","avatar_url":"https://github.com/ucloud.png","language":"JavaScript","readme":"# URTC Web 教育 demo\n\n此 demo 网址：https://demo.urtc.com.cn/\n\n## 步骤 1：使用 yarn 引入 SDK  (npm 在windows环境可能会安装依赖失败)\n\n### 安装  yarn [下载安装包](https://yarn.bootcss.com/docs/install),或者通过npm 安装\n```\nnpm install -g yarn --registry=https://registry.npm.taobao.org\n\n```\n然后配置源\n```\nyarn config set registry https://registry.npm.taobao.org -g\n\nyarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g\n\n```\n### 然后执行\n```\nyarn\n\n```\n\n## 步骤 2：启动\n\n```\nyarn start \n```\n\n修改 config 下的 index.js 文件，配置 AppId 和 AppKey。\n \n \u003e 注：\n\u003e\n\u003e 1. AppId 和 AppKey 可从 URTC 产品中获取，可以参考 https://docs.ucloud.cn/urtc/quick 。\n\u003e 2. AppKey 不可暴露于公网，建议生产环境时，由后端进行保存并由前端调 API 获取\n\u003e 3. 白板相关信息点击跳转 [这里](http://herewhite.com/zh-CN/)\n\u003e 4. 由于浏览器的安全策略对除 127.0.0.1 以外的 HTTP 地址作了限制，Web SDK 仅支持 HTTPS 协议 或者 http://localhost（http://127.0.0.1）, 请勿使用 HTTP 协议 部署你的项目。\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucloud%2Furtc-js-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fucloud%2Furtc-js-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucloud%2Furtc-js-demo/lists"}