@@ -53,6 +53,24 @@ extern "C" {
53
53
#[ wasm_bindgen( method, setter = "autoGainControl" ) ]
54
54
pub fn set_auto_gain_control ( this : & MediaTrackCapabilities , val : & :: wasm_bindgen:: JsValue ) ;
55
55
#[ cfg( web_sys_unstable_apis) ]
56
+ #[ doc = "Get the `backgroundBlur` field of this object." ]
57
+ #[ doc = "" ]
58
+ #[ doc = "*This API requires the following crate features to be activated: `MediaTrackCapabilities`*" ]
59
+ #[ doc = "" ]
60
+ #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
61
+ #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
62
+ #[ wasm_bindgen( method, getter = "backgroundBlur" ) ]
63
+ pub fn get_background_blur ( this : & MediaTrackCapabilities ) -> Option < :: js_sys:: Array > ;
64
+ #[ cfg( web_sys_unstable_apis) ]
65
+ #[ doc = "Change the `backgroundBlur` field of this object." ]
66
+ #[ doc = "" ]
67
+ #[ doc = "*This API requires the following crate features to be activated: `MediaTrackCapabilities`*" ]
68
+ #[ doc = "" ]
69
+ #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
70
+ #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
71
+ #[ wasm_bindgen( method, setter = "backgroundBlur" ) ]
72
+ pub fn set_background_blur ( this : & MediaTrackCapabilities , val : & :: wasm_bindgen:: JsValue ) ;
73
+ #[ cfg( web_sys_unstable_apis) ]
56
74
#[ cfg( feature = "ULongRange" ) ]
57
75
#[ doc = "Get the `channelCount` field of this object." ]
58
76
#[ doc = "" ]
@@ -328,6 +346,12 @@ impl MediaTrackCapabilities {
328
346
self
329
347
}
330
348
#[ cfg( web_sys_unstable_apis) ]
349
+ #[ deprecated = "Use `set_background_blur()` instead." ]
350
+ pub fn background_blur ( & mut self , val : & :: wasm_bindgen:: JsValue ) -> & mut Self {
351
+ self . set_background_blur ( val) ;
352
+ self
353
+ }
354
+ #[ cfg( web_sys_unstable_apis) ]
331
355
#[ cfg( feature = "ULongRange" ) ]
332
356
#[ deprecated = "Use `set_channel_count()` instead." ]
333
357
pub fn channel_count ( & mut self , val : & ULongRange ) -> & mut Self {
0 commit comments