https://github.com/runner365/webcodecpush
webcodec for webOBS
https://github.com/runner365/webcodecpush
h264 rtmp webcodec webobs websocket
Last synced: 3 months ago
JSON representation
webcodec for webOBS
- Host: GitHub
- URL: https://github.com/runner365/webcodecpush
- Owner: runner365
- License: mit
- Created: 2021-09-05T02:30:27.000Z (almost 5 years ago)
- Default Branch: v1.0
- Last Pushed: 2023-01-17T10:33:11.000Z (over 3 years ago)
- Last Synced: 2025-05-04T13:58:22.850Z (about 1 year ago)
- Topics: h264, rtmp, webcodec, webobs, websocket
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webcodec Push
A demo can push vp8/h264+opus in flv over websocket to mediaserver.
Please use chrome version >= 93 for the demo.
You must use the [cpp_media_server](https://github.com/runner365/cpp_media_server) as the server side which support vp8/h264+opus in flv over websocket.
## 1. How to use
Please run it in pc.
***Chrome version >= 93.***
### 1.1 Install node module
we suggest node version 12.
* npm install
* npm start
access the url: http://localhost:9000/ in chrome.
### 1.2 About audio codec
webcodec only provide audio codec: ***Opus***
But the rtmp/flv doesn't support Opus.
we provide the customized ffmpeg which supports the vp8/vp9/opus in rtmp/flv.
the link: ***[ffmpeg github](https://github.com/runner365/my_ffmpeg)***
### 1.3 media server
The [cpp_media_server](https://github.com/runner365/cpp_media_server) provide:
* flv on websocket(for chrome push the media(h264/vp8+opus in flv)
* rtmp/httpflv/hls
wiki:
* [How to compile](https://github.com/runner365/cpp_media_server/blob/v1.0/doc/conf/0_how_to_build.md)
* [webobs configure](https://github.com/runner365/cpp_media_server/blob/v1.0/doc/conf/7_websocket_flv.md)