diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-01-05 09:01:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 08:01:58 +0000 |
commit | 7fa4ea9740edccc93672d8cc428f6e9d4575a036 (patch) | |
tree | c45393c502ba740128e94991bf923dfc7cc95432 /components/script/dom/rtcdatachannel.rs | |
parent | c219204084b8f8a747ebd37ec75472c1b7e97411 (diff) | |
download | servo-7fa4ea9740edccc93672d8cc428f6e9d4575a036.tar.gz servo-7fa4ea9740edccc93672d8cc428f6e9d4575a036.zip |
Upgrade media / GStreamer / GLib (#30750)
- Upgrade the version of GStreamer for Windows
This upgrades the Windows build to use the most recent version of
GStreamer. This is necessary to upgrade our GStreamer dependency.
- Stop shipping GStreamer binaries on Linux
The binary bundle of GStreamer that we package is not used to compile --
only to run layout tests. It's too old for the APIs that we are using
(as evidenced by needed 1.18 for WebRTC) and nowadays Linux
distributions carry a new version so it's unecessary for our build
machines. No longer using this binary bundle will allow us to upgrade
our GStreamer dependency -- which now has stricter checks that we
are using at least version 1.18.
- Upgrade media to use newer versions of GStreamer / GLib dependencies
Diffstat (limited to 'components/script/dom/rtcdatachannel.rs')
-rw-r--r-- | components/script/dom/rtcdatachannel.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/rtcdatachannel.rs b/components/script/dom/rtcdatachannel.rs index 57fb1eba868..0126e144021 100644 --- a/components/script/dom/rtcdatachannel.rs +++ b/components/script/dom/rtcdatachannel.rs @@ -378,9 +378,9 @@ impl From<&RTCDataChannelInit> for DataChannelInit { impl From<DataChannelState> for RTCDataChannelState { fn from(state: DataChannelState) -> RTCDataChannelState { match state { - DataChannelState::New | - DataChannelState::Connecting | - DataChannelState::__Unknown(_) => RTCDataChannelState::Connecting, + DataChannelState::Connecting | DataChannelState::__Unknown(_) => { + RTCDataChannelState::Connecting + }, DataChannelState::Open => RTCDataChannelState::Open, DataChannelState::Closing => RTCDataChannelState::Closing, DataChannelState::Closed => RTCDataChannelState::Closed, |