Skip to content

Commit

Permalink
[web-sys] Add RTCRtpTransceiverDirection.stopped variant (#4102)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlapa committed Sep 7, 2024
1 parent 3474f3c commit 35cdc21
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

## Unreleased

### Added

* Add bindings to `RTCRtpTransceiverDirection.stopped`.
[#4102](https://github.com/rustwasm/wasm-bindgen/pull/4102)

### Fixed

* Fixed linked modules emitting snippet files when not using `--split-linked-modules`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ pub enum RtcRtpTransceiverDirection {
Sendonly = "sendonly",
Recvonly = "recvonly",
Inactive = "inactive",
Stopped = "stopped",
}
3 changes: 2 additions & 1 deletion crates/web-sys/webidls/enabled/RTCRtpTransceiver.webidl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ enum RTCRtpTransceiverDirection {
"sendrecv",
"sendonly",
"recvonly",
"inactive"
"inactive",
"stopped"
};

dictionary RTCRtpTransceiverInit {
Expand Down

0 comments on commit 35cdc21

Please sign in to comment.