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

Method NeedWait

wait-tracks.go:67–69  ·  view source on GitHub ↗

NeedWait 是否需要等待Track

()

Source from the content-addressed store, hash-verified

65
66// NeedWait 是否需要等待Track
67func (w *waitTracks) NeedWait() bool {
68 return w.audio.Waiting() || w.video.Waiting() || w.data.Waiting()
69}
70
71// Accept 有新的Track来到,检查是否可以不再需要等待了
72func (w *waitTracks) Accept(t Track) bool {

Callers 2

AcceptMethod · 0.95
AddMethod · 0.80

Calls 1

WaitingMethod · 0.80

Tested by

no test coverage detected