(streamPath string)
| 90 | } |
| 91 | |
| 92 | func 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 事件(转码需要) |
| 100 | type InviteTrackEvent struct { |
nothing calls this directly
no test coverage detected