{"id":22039416,"url":"https://github.com/mpolinowski/rtsptowebrtc","last_synced_at":"2026-03-07T17:31:17.495Z","repository":{"id":111484122,"uuid":"339382672","full_name":"mpolinowski/RTSPtoWebRTC","owner":"mpolinowski","description":"IP Camera RTSP Stream to WebRTC for your Webpage","archived":false,"fork":false,"pushed_at":"2021-02-16T11:53:39.000Z","size":2771,"stargazers_count":56,"open_issues_count":4,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T21:45:18.750Z","etag":null,"topics":["go","golang","rtsp","webrtc"],"latest_commit_sha":null,"homepage":"","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/mpolinowski.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":"2021-02-16T11:53:31.000Z","updated_at":"2025-04-06T15:41:55.000Z","dependencies_parsed_at":"2023-05-09T17:16:54.844Z","dependency_job_id":null,"html_url":"https://github.com/mpolinowski/RTSPtoWebRTC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mpolinowski/RTSPtoWebRTC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2FRTSPtoWebRTC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2FRTSPtoWebRTC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2FRTSPtoWebRTC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2FRTSPtoWebRTC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpolinowski","download_url":"https://codeload.github.com/mpolinowski/RTSPtoWebRTC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpolinowski%2FRTSPtoWebRTC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30223240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","golang","rtsp","webrtc"],"created_at":"2024-11-30T11:10:41.564Z","updated_at":"2026-03-07T17:31:17.464Z","avatar_url":"https://github.com/mpolinowski.png","language":"JavaScript","funding_links":["https://www.paypal.me/AndreySemochkin"],"categories":[],"sub_categories":[],"readme":"# RTSP to WebRTC\n\n## Embed your Cameras RTSP Stream via WebRTC\n\n\u003e This is a clone of the [RTSPtoWebRTC Project deepch](https://github.com/deepch/RTSPtoWebRTC)!\n\n\nSteps to run this project:\n\n1. Install [Go for LINUX, Windows or macOS](https://golang.org/doc/install?download)\n\n2. Download /Clone this Repository [RTSPtoWebRTC](https://github.com/mpolinowski/RTSPtoWebRTC)\n\n3. Enter the folder you downloaded the code into and edit the file `./config.json` to add your personal IP camera URLs, e.g.:\n\n\n```json\n}\n   \"INSTAR_8015_FHD\": {\n      \"on_demand\": true,\n      \"url\": \"rtsp://admin:instar@192.168.2.77/11\"\n   },\n    \"INSTAR_9020_FHD\": {\n      \"on_demand\": true,\n      \"url\": \"rtsp://admin:instar@192.168.2.117/12\"\n   },\n    \"INSTAR_IN-7011_HD\": {\n      \"on_demand\": true,\n      \"url\": \"rtsp://admin:instar@192.168.2.63/11\"\n   }\n}\n```\n\n\n4. Now run the following command to run the application in development mode:\n\n```bash\n$ go run .\n```\n\nor build and run your application:\n\n```bash\n$ go build .\n$ ./RTSPtoWebRTC\n```\n\n\u003e The build command will build the binary release version of your Go application. This file will be called `RTSPtoWebRTC` - without an extension - on LINUX and can be executed from your command line or through a script (make sure that the file is made executable before running). If you run the command on Windows, you end up with an `RTSPtoWebRTC.exe` file that you can execute by double-clicking.\n\n\n4. Open your Web browser and visit the following URL:\n\n\n```bash\nhttp://127.0.0.1:8888\n```\n\n\n---\n\n![RTSPtoWebRTC](./webrtc_02.gif)\n\n---\n\n\n################ ORIGINAL README #####################\n\n---\n\n# RTSPtoWebRTC\n\nRTSP Stream to WebBrowser over WebRTC based on Pion\n\nfull native! not use ffmpeg or gstreamer\n\nif you need RTSPtoWSMP4f use https://github.com/deepch/RTSPtoWSMP4f\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![RTSPtoWebRTC image](doc/demo4.png)\n\n## Installation\n1.\n```bash\n$ export GO111MODULE=on\n$ go get github.com/deepch/RTSPtoWebRTC\n```\n2.\n```bash\n$ cd ~/go/src/github.com/deepch/RTSPtoWebRTC\n```\n3.\n```bash\n$ go run .\n```\nor\n```bash\n$ go build .\n$ ./RTSPtoWebRTC\n```\n4.\n```bash\nopen 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      \"url\": \"rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa\"\n    },\n    \"demo2\": {\n      \"url\": \"rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa\"\n    },\n    \"demo3\": {\n      \"url\": \"rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa\"\n    }\n  }\n}\n```\n\n## Limitations\n\nVideo Codecs Supported: H264\n\nAudio Codecs Supported: pcm alaw and pcm mulaw \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%2Fmpolinowski%2Frtsptowebrtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpolinowski%2Frtsptowebrtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpolinowski%2Frtsptowebrtc/lists"}