mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-18 14:40:40 +08:00
19 lines
269 B
Go
19 lines
269 B
Go
package common
|
|
|
|
import (
|
|
"m7s.live/engine/v4/config"
|
|
"m7s.live/engine/v4/log"
|
|
)
|
|
|
|
type IStream interface {
|
|
AddTrack(Track)
|
|
RemoveTrack(Track)
|
|
Close()
|
|
IsClosed() bool
|
|
SSRC() uint32
|
|
log.Zap
|
|
Receive(any) bool
|
|
SetIDR(Track)
|
|
GetPublisherConfig() *config.Publish
|
|
}
|