Unverified 提交 3ba3540d authored 作者: José Luis Millán's avatar José Luis Millán 提交者: GitHub

Node: Producer, add missing member to ProducerScore (#1225)

This member in the type has been missing for ever, even though it's
documented.
上级 cc863ebb
......@@ -82,6 +82,11 @@ export type ProducerTraceEventData =
export type ProducerScore =
{
/**
* Index of the RTP stream in the rtpParameters.encodings array.
*/
encodingIdx: number;
/**
* SSRC of the RTP stream.
*/
......@@ -719,9 +724,10 @@ function parseProducerScore(
): ProducerScore
{
return {
ssrc : binary.ssrc(),
rid : binary.rid() ?? undefined,
score : binary.score()
encodingIdx : binary.encodingIdx(),
ssrc : binary.ssrc(),
rid : binary.rid() ?? undefined,
score : binary.score()
};
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论