1
I am streaming webRTC from a server to a web client successfully using code adapted from this jsfiddle: 

https://jsfiddle.net/z7ms3u5r/

我需要 javascript 客户端发送 Picture Loss Indicator (PLI) 数据包,以通知服务器形成关键帧(i-frame)。有没有办法强制 javascript webRTC 客户端向服务器发送 PLI?

4

1 回答 1

1

不幸的是,您不能使用 WebRTC 媒体 API。

如果您使用的是 Pion(该要点的来源),我将通过 DataChannel 发送 PLI。然后您可以轻松地在 Go 中制作+发送一个!

于 2020-10-12T03:49:55.450 回答