diff --git a/CHANGELOG.md b/CHANGELOG.md index ee519b69adc..c4ff91b7640 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`. diff --git a/crates/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs b/crates/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs index ed06356751d..cdbbdd8c522 100644 --- a/crates/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs +++ b/crates/web-sys/src/features/gen_RtcRtpTransceiverDirection.rs @@ -11,4 +11,5 @@ pub enum RtcRtpTransceiverDirection { Sendonly = "sendonly", Recvonly = "recvonly", Inactive = "inactive", + Stopped = "stopped", } diff --git a/crates/web-sys/webidls/enabled/RTCRtpTransceiver.webidl b/crates/web-sys/webidls/enabled/RTCRtpTransceiver.webidl index 4c89a032b4c..46757b490f5 100644 --- a/crates/web-sys/webidls/enabled/RTCRtpTransceiver.webidl +++ b/crates/web-sys/webidls/enabled/RTCRtpTransceiver.webidl @@ -11,7 +11,8 @@ enum RTCRtpTransceiverDirection { "sendrecv", "sendonly", "recvonly", - "inactive" + "inactive", + "stopped" }; dictionary RTCRtpTransceiverInit {