{"id":19703575,"url":"https://github.com/monibuca/plugin-rtsp","last_synced_at":"2025-10-26T09:45:15.878Z","repository":{"id":39974984,"uuid":"256447662","full_name":"Monibuca/plugin-rtsp","owner":"Monibuca","description":"rtsp协议实现，接受RTSP推流以及提供拉流转发功能","archived":false,"fork":false,"pushed_at":"2024-12-13T09:09:53.000Z","size":371,"stargazers_count":157,"open_issues_count":10,"forks_count":76,"subscribers_count":6,"default_branch":"v4","last_synced_at":"2025-05-16T10:07:29.498Z","etag":null,"topics":["rtsp"],"latest_commit_sha":null,"homepage":"","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.en.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":"2020-04-17T08:35:53.000Z","updated_at":"2025-04-23T09:05:34.000Z","dependencies_parsed_at":"2023-10-23T07:27:53.818Z","dependency_job_id":"bd998dee-0164-4dac-a801-2db6126e81af","html_url":"https://github.com/Monibuca/plugin-rtsp","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-rtsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-rtsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-rtsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monibuca%2Fplugin-rtsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Monibuca","download_url":"https://codeload.github.com/Monibuca/plugin-rtsp/tar.gz/refs/heads/v4","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509476,"owners_count":22082891,"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":["rtsp"],"created_at":"2024-11-11T21:18:20.412Z","updated_at":"2025-10-26T09:45:15.783Z","avatar_url":"https://github.com/Monibuca.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"_[简体中文](https://github.com/Monibuca/plugin-rtsp) | English_\n# RTSP Plugin\n\nThe RTSP plugin provides the ability to push and pull the RTSP protocol and also to push and pull the RTSP protocol to remote servers.\n\n## Plugin address\n\nhttps://github.com/Monibuca/plugin-rtsp\n\n## Plugin introduction\n\n```go\nimport (\n    _ \"m7s.live/plugin/rtsp/v4\"\n)\n```\n\n## Push and Pull address form\n\n```\nrtsp://localhost/live/test\n```\n- `localhost` is the m7s server domain name or IP address, and the default port `554` can be omitted, otherwise it is required to be written.\n- `live` represents `appName`\n- `test` represents `streamName`\n- `live/test` in m7s will serve as the stream identity.\n\nFor example, push stream to m7s through ffmpeg\n\n```bash\nffmpeg -i [video source] -c:v h264 -c:a aac -f rtsp rtsp://localhost/live/test\n```\n\nThis will create a stream named `live/test` inside m7s.\n\nIf the `live/test` stream already exists in m7s, then you can use the RTSP protocol to play it.\n\n```bash\nffplay rtsp://localhost/live/test\n```\n\n## Configuration\n\n```yaml\nrtsp:\n    publish: # Refer to the global configuration format\n    subscribe: # Refer to the global configuration format\n    pull: # Format reference document https://m7s.live/guide/config.html#%E6%8F%92%E4%BB%B6%E9%85%8D%E7%BD%AE\n    push: # Format reference document https://m7s.live/guide/config.html#%E6%8F%92%E4%BB%B6%E9%85%8D%E7%BD%AE\n    listenaddr: :554\n    udpaddr: :8000\n    rtcpaddr: :8001\n    readbuffercount: 2048\n    writebuffercount: 2048\n```\n:::tip Configuration override\npublish and subscribe, any section not configured will use global configuration.\n:::\n\n## API\n\n### `rtsp/api/list`\nGet all RTSP streams\n\n### `rtsp/api/pull?target=[RTSP address]\u0026streamPath=[Stream identity]\u0026save=[0|1|2]`\nPull the RTSP to m7s from a remote server\n- save meaning: 0, do not save; 1, save to pullonstart; 2, save to pullonsub\n- The RTSP address needs to be urlencoded to prevent special characters from affecting parsing\n### `rtsp/api/push?target=[RTSP address]\u0026streamPath=[Stream identity]`\nPush local streams to remote servers","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonibuca%2Fplugin-rtsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonibuca%2Fplugin-rtsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonibuca%2Fplugin-rtsp/lists"}