consumerScore
<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;">consumerId</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": {
"consumerId": "d94b34f1-c609-4785-9f4d-b4db9aa093b5",
"score": {
"producerScore": 0,
"producerScores": [
0
],
"score": 10
}
},
"method": "consumerScore",
"notification": true,
"peerId": "default_userid",
"roomId": "default_room"
}
</code></pre>
<h5>返回示例</h5>
<p>[该消息无需返回]</p>
<pre><code>{
}</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>