{"id":19703629,"url":"https://github.com/monibuca/plugin-edge","last_synced_at":"2025-05-07T11:22:08.840Z","repository":{"id":61626838,"uuid":"527367174","full_name":"Monibuca/plugin-edge","owner":"Monibuca","description":"边缘服务器插件——使得m7s实例可作为边缘服务器","archived":false,"fork":false,"pushed_at":"2023-08-17T11:34:42.000Z","size":19,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"v4","last_synced_at":"2025-03-31T09:37:48.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Monibuca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-22T01:03:34.000Z","updated_at":"2024-03-03T08:06:54.000Z","dependencies_parsed_at":"2024-11-11T21:18:38.981Z","dependency_job_id":"7559a4e6-d11f-40f4-9051-23d685f144d9","html_url":"https://github.com/Monibuca/plugin-edge","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-edge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-edge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-edge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-edge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Monibuca","download_url":"https://codeload.github.com/Monibuca/plugin-edge/tar.gz/refs/heads/v4","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866127,"owners_count":21816397,"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","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-11T21:18:30.638Z","updated_at":"2025-05-07T11:22:08.811Z","avatar_url":"https://github.com/Monibuca.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plugin-edge\n边缘服务器插件——使得m7s实例可作为边缘服务器\n\n\n## 插件地址\n\nhttps://github.com/Monibuca/plugin-edge\n\n## 插件引入\n\n```go\nimport (\n    _ \"m7s.live/plugin/edge/v4\"\n)\n```\n\n## 配置\n\n```yaml\nedge:\n  origin: \"http://localhost:8080/hdl/\"\n```\n\norigin代表源服务器拉流地址前缀，可以由如下几种格式：\n- http://[host]:[port]/hdl/ 使用hdl协议拉流\n- rtmp://[host]:[port]/ 使用rtmp协议拉流\n- rtsp://[host]:[port]/ 使用rtsp协议拉流\n\n## 使用\n\n当配置了edge后，该实例即可成为边缘服务器，即当收到一个订阅者时将自动向源服务器发送拉流请求，从而实现级联的效果。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonibuca%2Fplugin-edge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonibuca%2Fplugin-edge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonibuca%2Fplugin-edge/lists"}