{"id":15026822,"url":"https://github.com/deepch/rtsptowebrtc","last_synced_at":"2025-05-14T03:10:23.773Z","repository":{"id":37382223,"uuid":"146347503","full_name":"deepch/RTSPtoWebRTC","owner":"deepch","description":"RTSP to WebRTC use Pion WebRTC","archived":false,"fork":false,"pushed_at":"2025-02-12T21:44:54.000Z","size":1683,"stargazers_count":1667,"open_issues_count":91,"forks_count":426,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-04-10T23:59:30.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/deepch.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":"2018-08-27T20:01:28.000Z","updated_at":"2025-04-09T22:37:04.000Z","dependencies_parsed_at":"2024-10-24T18:36:34.155Z","dependency_job_id":"1caa6f07-11cf-4fac-9db5-8f088199e471","html_url":"https://github.com/deepch/RTSPtoWebRTC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2FRTSPtoWebRTC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2FRTSPtoWebRTC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2FRTSPtoWebRTC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2FRTSPtoWebRTC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepch","download_url":"https://codeload.github.com/deepch/RTSPtoWebRTC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254059512,"owners_count":22007769,"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-09-24T20:05:12.204Z","updated_at":"2025-05-14T03:10:18.754Z","avatar_url":"https://github.com/deepch.png","language":"JavaScript","funding_links":["https://www.paypal.me/AndreySemochkin"],"categories":[],"sub_categories":[],"readme":"# RTSPtoWebRTC\n\nRTSP Stream to WebBrowser over WebRTC based on Pion (full native! not using ffmpeg or gstreamer).\n\n**Note:** [RTSPtoWeb](https://github.com/deepch/RTSPtoWeb) is an improved service that provides the same functionality, an improved API, and supports even more protocols. *RTSPtoWeb is recommended over using this service.*\n\n\nif you need RTSPtoWSMP4f use https://github.com/deepch/RTSPtoWSMP4f\n\n\n![RTSPtoWebRTC image](doc/demo4.png)\n\n### Download Source\n\n1. Download source\n   ```bash \n   $ git clone https://github.com/deepch/RTSPtoWebRTC  \n   ```\n3. CD to Directory\n   ```bash\n    $ cd RTSPtoWebRTC/\n   ```\n4. Test Run\n   ```bash\n    $ GO111MODULE=on go run *.go\n   ```\n5. Open Browser\n    ```bash\n    open web browser http://127.0.0.1:8083 work chrome, safari, firefox\n    ```\n\n## Configuration\n\n### Edit file config.json\n\nformat:\n\n```bash\n{\n  \"server\": {\n    \"http_port\": \":8083\"\n  },\n  \"streams\": {\n    \"demo1\": {\n      \"on_demand\" : false,\n      \"url\": \"rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa\"\n    },\n    \"demo2\": {\n      \"on_demand\" : true,\n      \"url\": \"rtsp://admin:admin123@10.128.18.224/mpeg4\"\n    },\n    \"demo3\": {\n      \"on_demand\" : false,\n      \"url\": \"rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa\"\n    }\n  }\n}\n```\n\n## Livestreams\n\nUse option ``` \"on_demand\": false ``` otherwise you will get choppy jerky streams and performance issues when multiple clients connect. \n\n## Limitations\n\nVideo Codecs Supported: H264\n\nAudio Codecs Supported: pcm alaw and pcm mulaw \n\n## Team\n\nDeepch - https://github.com/deepch streaming developer\n\nDmitry - https://github.com/vdalex25 web developer\n\nNow test work on (chrome, safari, firefox) no MAC OS\n\n## Other Example\n\nExamples of working with video on golang\n\n- [RTSPtoWeb](https://github.com/deepch/RTSPtoWeb)\n- [RTSPtoWebRTC](https://github.com/deepch/RTSPtoWebRTC)\n- [RTSPtoWSMP4f](https://github.com/deepch/RTSPtoWSMP4f)\n- [RTSPtoImage](https://github.com/deepch/RTSPtoImage)\n- [RTSPtoHLS](https://github.com/deepch/RTSPtoHLS)\n- [RTSPtoHLSLL](https://github.com/deepch/RTSPtoHLSLL)\n\n[![paypal.me/AndreySemochkin](https://ionicabizau.github.io/badges/paypal.svg)](https://www.paypal.me/AndreySemochkin) - You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Frtsptowebrtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepch%2Frtsptowebrtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Frtsptowebrtc/lists"}