Monibuca / plugin-rtmp

RTMP协议插件,提供RTMP协议的server功能:接收rtmp推流和rtmp的播放功能
MIT License
94 stars 51 forks source link

播放4k视频卡顿 #9

Closed ChungTak closed 3 years ago

ChungTak commented 3 years ago

测试环境

langhuihui commented 3 years ago

这个主要是时间戳问题引起的,engine重新打了时间戳,这个问题在3.0中已解决。当时这么做的原因是发现OBS推流的时间戳不对,严重滞后,不过现在已经查明原因了,rtmp音视频时间戳共用一套相对时间戳。

ChungTak commented 3 years ago

现在3.0 能测试吗?有没有文档介绍怎么搭建起来试试?

langhuihui commented 3 years ago
package main

import (
    . "github.com/Monibuca/engine/v3"
    _ "github.com/Monibuca/plugin-gateway/v3"
    _ "github.com/Monibuca/plugin-jessica/v3"
    _ "github.com/Monibuca/plugin-rtmp/v3"
    _ "github.com/Monibuca/plugin-webrtc/v3"
    _ "github.com/Monibuca/plugin-rtsp/v3"
    _ "github.com/Monibuca/plugin-hls/v3"
)

func main() {
    Run("./config.toml")
    select {}
}

UI还没弄好