Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtcdatachannel binarytype fix #37859

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/en-us/web/api/rtcdatachannel/binarytype/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on the {{domxref("RTCDataChannel")}}. Values allowed by the
{{domxref("WebSocket.binaryType")}} property are also permitted here:
`blob` if {{domxref("Blob")}} objects are being used or
`arraybuffer` if {{jsxref("ArrayBuffer")}} objects are being used. The
default is `blob`.
default is `arraybuffer`.

When a binary message is received on the data channel, the resulting
{{DOMxRef("RTCDataChannel.message_event", "message")}} event's {{domxref("MessageEvent.data")}} property is an object of
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/rtcdatachannel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ _Also inherits properties from {{DOMxRef("EventTarget")}}._
Values are the same as allowed on the {{DOMxRef("WebSocket.binaryType")}} property:
`blob` if {{DOMxRef("Blob")}} objects are being used,
or `arraybuffer` if {{jsxref("ArrayBuffer")}} objects are being used.
The default is `blob`.
The default is `arraybuffer`.
- {{DOMxRef("RTCDataChannel.bufferedAmount", "bufferedAmount")}} {{ReadOnlyInline}}
- : Returns the number of bytes of data
currently queued to be sent over the data channel.
Expand Down