Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed Dec 6, 2024
1 parent cacf37b commit 3c30ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules-tts.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ws.text((text) => {
// 获取二进制消息信息
ws.binary((data) => {
console.log('返回的二进制数据:', data.length);
// 将获取到的数据处理后重新推送给app,如果不需要处理该data,直接删除该binary方法
// 将获取到的数据处理后重新推送给app,如果不做处理,直接push,data数据即可
ws.push(data)
});

Expand Down

0 comments on commit 3c30ebe

Please sign in to comment.