mirror of
https://github.com/Monibuca/plugin-ts.git
synced 2025-10-27 17:30:28 +08:00
适配引擎升级
This commit is contained in:
3
main.go
3
main.go
@@ -2,7 +2,6 @@ package ts
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
. "github.com/Monibuca/engine/v4"
|
. "github.com/Monibuca/engine/v4"
|
||||||
"github.com/Monibuca/engine/v4/config"
|
|
||||||
"github.com/Monibuca/engine/v4/track"
|
"github.com/Monibuca/engine/v4/track"
|
||||||
"github.com/asticode/go-astits"
|
"github.com/asticode/go-astits"
|
||||||
)
|
)
|
||||||
@@ -10,7 +9,7 @@ import (
|
|||||||
type TSConfig struct {
|
type TSConfig struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config *TSConfig) Update(override config.Config) {
|
func (config *TSConfig) OnEvent(event any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var plugin = InstallPlugin(&TSConfig{})
|
var plugin = InstallPlugin(&TSConfig{})
|
||||||
|
|||||||
Reference in New Issue
Block a user