You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
姜拯 4ffebc18e2 webrtc兼容多slice的情况 3 years ago
webrtc 修复webrtc 推流功能 3 years ago
.gitignore 修改播放逻辑 4 years ago
LICENSE first commit 4 years ago
README.md 修改API路由 4 years ago
go.mod 适配rtp包版本 3 years ago
go.sum 适配rtp包版本 3 years ago
main.go webrtc兼容多slice的情况 3 years ago

README.md

webrtc 插件

提供通过网页发布视频到monibuca,以及从monibuca拉流通过webrtc进行播放的功能

基本原理

通过浏览器和monibuca交换sdp信息,然后读取rtp包或者发送rtp的方式进行

API

  • /api/webrtc/play?streamPath=live/rtc 用于播放live/rtc的流,需要在请求的body中放入sdp的json数据,这个接口会返回服务端的sdp数据
  • /api/webrtc/publish?streamPath=live/rtc 同上