XMeet

Mediasoup视频会议


producerScore

<h5>简要描述</h5> <ul> <li>该通知消息用于通知本地生产数据的(传输等)质量如何, 用分数0-10分来代表</li> </ul> <h5>请求方式</h5> <ul> <li>Websocket.Notify </li> </ul> <h5>请求参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">producerId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>生产数据的ID</td> </tr> <tr> <td style="text-align: left;">score</td> <td style="text-align: left;">是</td> <td style="text-align: left;">{}</td> <td>访问数据媒体质量的分数</td> </tr> </tbody> </table> <h5>请求示例</h5> <pre><code>{ "data": { "producerId": "a51d8abc-ca9e-4d0b-9bae-31f6f929f493", "score": [ { "encodingIdx": 0, "score": 10, "ssrc": 2663793600 } ] }, "method": "producerScore", "notification": true, "peerId": "default_userid", "roomId": "default_room" } </code></pre> <h5>返回示例</h5> <p>[该消息无需返回]</p> <pre><code>{ }</code></pre> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML