MCPcopy
hub / github.com/q191201771/lal / CustomizePubSessionContext

Struct CustomizePubSessionContext

pkg/logic/customize_pubsession.go:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22type ModCustomizePubSessionOptionFn func(option *CustomizePubSessionOption)
23
24type CustomizePubSessionContext struct {
25 uniqueKey string
26
27 streamName string
28 remuxer *remux.AvPacket2RtmpRemuxer
29 onRtmpMsg func(msg base.RtmpMsg)
30 option CustomizePubSessionOption
31 dumpFile *base.DumpFile
32
33 disposeFlag nazaatomic.Bool
34}
35
36func NewCustomizePubSessionContext(streamName string) *CustomizePubSessionContext {
37 s := &CustomizePubSessionContext{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected