rtmp迁移新架构

This commit is contained in:
langhuihui
2021-01-25 20:33:41 +08:00
parent 64a2b5884c
commit 6084f8b96d
7 changed files with 235 additions and 162 deletions

View File

@@ -1,10 +1,10 @@
package rtmp
import (
"log"
. "github.com/Monibuca/engine/v2"
. "github.com/Monibuca/engine/v3"
. "github.com/Monibuca/utils/v3"
. "github.com/logrusorgru/aurora"
"log"
)
var config = struct {
@@ -15,7 +15,6 @@ var config = struct {
func init() {
InstallPlugin(&PluginConfig{
Name: "RTMP",
Type: PLUGIN_SUBSCRIBER | PLUGIN_PUBLISHER,
Config: &config,
Run: run,
})