https://github.com/deepch/rtsptohls
RTSP Stream to WebBrowser HLS over HTTP based TS segments
https://github.com/deepch/rtsptohls
Last synced: about 1 year ago
JSON representation
RTSP Stream to WebBrowser HLS over HTTP based TS segments
- Host: GitHub
- URL: https://github.com/deepch/rtsptohls
- Owner: deepch
- License: mit
- Created: 2021-03-27T22:48:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T07:28:11.000Z (about 2 years ago)
- Last Synced: 2025-04-09T11:52:36.144Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.38 MB
- Stars: 87
- Watchers: 2
- Forks: 23
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RTSPtoHLS
RTSP Stream to WebBrowser HLS over HTTP based TS segments
full native! not use ffmpeg or gstreamer

### Download Source
1. Download source
```bash
$ git clone https://github.com/deepch/RTSPtoHLS
```
3. CD to Directory
```bash
$ cd RTSPtoHLS/
```
4. Test Run
```bash
$ GO111MODULE=on go run *.go
```
5. Open Browser
```bash
open web browser http://127.0.0.1:8083 work chrome, safari, firefox
```
## Configuration
### Edit file config.json
format:
```bash
{
"server": {
"http_port": ":8083"
},
"streams": {
"H264_AAC": {
"url": "rtsp://171.25.232.20/d7b92541b4914c8e98104cba907864f8"
}
}
}
```
## Limitations
Video Codecs Supported: H264 all profiles
Audio Codecs Supported: AAC
## Test
CPU usage 0.2% one core cpu intel core i7 / stream
## Team
Deepch - https://github.com/deepch streaming developer
Dmitry - https://github.com/vdalex25 web developer
## Other Example
Examples of working with video on golang
- [RTSPtoWeb](https://github.com/deepch/RTSPtoWeb)
- [RTSPtoWebRTC](https://github.com/deepch/RTSPtoWebRTC)
- [RTSPtoWSMP4f](https://github.com/deepch/RTSPtoWSMP4f)
- [RTSPtoImage](https://github.com/deepch/RTSPtoImage)
- [RTSPtoHLS](https://github.com/deepch/RTSPtoHLS)
- [RTSPtoHLSLL](https://github.com/deepch/RTSPtoHLSLL)
[](https://www.paypal.me/AndreySemochkin) - You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea: