{"id":20110620,"url":"https://github.com/deepch/rtsptohlsll","last_synced_at":"2025-05-06T10:31:57.872Z","repository":{"id":43394678,"uuid":"356092891","full_name":"deepch/RTSPtoHLSLL","owner":"deepch","description":"RTSP Stream to WebBrowser HLS Low Latency over HTTP based MP4 segments","archived":false,"fork":false,"pushed_at":"2023-12-15T08:28:01.000Z","size":1456,"stargazers_count":35,"open_issues_count":4,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T11:50:16.653Z","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/deepch.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":"2021-04-09T01:07:30.000Z","updated_at":"2025-03-14T02:52:57.000Z","dependencies_parsed_at":"2022-07-22T21:17:27.822Z","dependency_job_id":null,"html_url":"https://github.com/deepch/RTSPtoHLSLL","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%2FRTSPtoHLSLL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2FRTSPtoHLSLL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2FRTSPtoHLSLL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2FRTSPtoHLSLL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepch","download_url":"https://codeload.github.com/deepch/RTSPtoHLSLL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252666087,"owners_count":21785193,"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-13T18:12:47.710Z","updated_at":"2025-05-06T10:31:56.970Z","avatar_url":"https://github.com/deepch.png","language":"JavaScript","funding_links":["https://www.paypal.me/AndreySemochkin"],"categories":[],"sub_categories":[],"readme":"# RTSPtoHLSLL\n\n### Description\n\n\nRTSP Stream to WebBrowser over HLS Low Latency\n\nfull native! not use ffmpeg or gstreamer\n\n### 1. you need https!!!\n### 2. work in progress!!!\n### 3. unstable!!!\n\n### Limitations\n\n1) This is a temporary project that's not finished yet.\n2) For low latency hls to work well on IOS, you need https without it, you get regular HLS!\n3) Remember this is not a production project this is an example.\n\nVideo Codecs Supported: H264 / H265 (H265 only IE or Safari)\n\nAudio Codecs Supported: AAC\n### Download Source\n\n1. Download source\n   ```bash \n   $ git clone https://github.com/deepch/RTSPtoHLSLL  \n   ```\n3. CD to Directory\n   ```bash\n    $ cd RTSPtoHLSLL/\n   ```\n4. Test Run\n   ```bash\n    $ GO111MODULE=on go run *.go\n   ```\n5. Open Browser\n    ```bash\n    open web browser https://you_domain.com or not recommendet (http://127.0.0.1:8083)\n    ```\n   \n### Get started (configure)\nOpen config file and edit\n\n1) Go to source directory \n   ```bash\n   $GOPATH/src/github.com/deepch/RTSPtoHLSLL/\n   ```\n2) open file config.json to edit mcedit nano or other text editor\n      ```bash\n   mcedit config.json\n   ```\n\n1) Configure you DNS name, need domain (example.com) and external IP (white) \n   ######(if you skip this step it may work as hls without LL as it requires http 2.0)\n2) Configure you dns name\n   ```json\n   {\"server\": {\n      \"http_server_name\": \"example.com\",\n      \"http_port\":        \":80\",\n      \"https_port\":       \":443\"\n   }}\n   ```\n3) If you know exactly the FPS of your stream, it is better to specify it in the config.\n\n#### fps_mode\n```bash\n   fixed  - read config value fps \n   sdp    - read fps send by camera sdp\n   sps    - read fps over sps vui \n   probe  - cal fps over interval (default)\n   pts    - use pts unstable ;(  \n```\n   ####example\n```json\n   {\"streams\": {\n      \"H264_AAC\": {\n          \"on_demand\": false,\n          \"url\": \"rtsp://171.25.232.20/d7b92541b4914c8e98104cba907864f8\",\n          \"fps_mode\": \"probe\",\n          \"fps_probe_time\": 2,\n          \"fps\": 25\n      }\n   }}\n   ```\n\n## Run\n\n1. Run source code\n```bash\n$ go run .\n```\n\n2. Build source code\n```bash\n$ go build .\n```\n\n## Team\n\nDeepch - https://github.com/deepch streaming developer\n\nDmitry - https://github.com/vdalex25 web developer\n\n## Worked Browser\n\n1) Safari - Mac OS\n2) Chrome - Mac OS\n3) Safari - IOS\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:","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Frtsptohlsll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepch%2Frtsptohlsll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Frtsptohlsll/lists"}