MCPcopy Create free account
hub / github.com/Monibuca/engine / TryInvitePublish

Function TryInvitePublish

events.go:92–97  ·  view source on GitHub ↗
(streamPath string)

Source from the content-addressed store, hash-verified

90}
91
92func TryInvitePublish(streamPath string) {
93 s := Streams.Get(streamPath)
94 if s == nil || s.Publisher == nil {
95 EventBus <- InvitePublish{Event: CreateEvent(streamPath)}
96 }
97}
98
99// InviteTrackEvent 邀请推送指定 Track 事件(转码需要)
100type InviteTrackEvent struct {

Callers

nothing calls this directly

Calls 2

CreateEventFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected