Home
last modified time | relevance | path

Searched refs:MediaTrackProperty (Results 1 – 11 of 11) sorted by relevance

/webrtc/constraints/src/
H A Dproperty.rs18 impl From<&MediaTrackProperty> for MediaTrackProperty { implementation
47 impl MediaTrackProperty { impl
71 pub static DEVICE_ID: MediaTrackProperty = MediaTrackProperty::named("deviceId");
77 pub static GROUP_ID: MediaTrackProperty = MediaTrackProperty::named("groupId");
121 pub static LATENCY: MediaTrackProperty = MediaTrackProperty::named("latency");
133 pub static SAMPLE_RATE: MediaTrackProperty = MediaTrackProperty::named("sampleRate");
139 pub static SAMPLE_SIZE: MediaTrackProperty = MediaTrackProperty::named("sampleSize");
177 pub static FACING_MODE: MediaTrackProperty = MediaTrackProperty::named("facingMode");
183 pub static FRAME_RATE: MediaTrackProperty = MediaTrackProperty::named("frameRate");
188 pub static HEIGHT: MediaTrackProperty = MediaTrackProperty::named("height");
[all …]
H A Dsupported_constraints.rs14 use crate::MediaTrackProperty;
36 pub struct MediaTrackSupportedConstraints(HashSet<MediaTrackProperty>);
40 pub fn new(properties: HashSet<MediaTrackProperty>) -> Self { in new()
45 pub fn into_inner(self) -> HashSet<MediaTrackProperty> { in into_inner() argument
51 type Target = HashSet<MediaTrackProperty>;
77 T: Into<MediaTrackProperty>,
88 type Item = MediaTrackProperty;
89 type IntoIter = std::collections::hash_set::IntoIter<MediaTrackProperty>;
H A Derrors.rs9 MediaTrackProperty,
16 pub constraint: MediaTrackProperty,
24 constraint: MediaTrackProperty::from(""), in default()
44 failed_constraints: HashMap<MediaTrackProperty, ConstraintFailureInfo>, in exposing_device_information() argument
H A Dlib.rs40 property::MediaTrackProperty,
/webrtc/constraints/src/settings/
H A Dtrack.rs10 use crate::{MediaTrackProperty, MediaTrackSetting};
33 pub struct MediaTrackSettings(HashMap<MediaTrackProperty, MediaTrackSetting>);
37 pub fn new(settings: HashMap<MediaTrackProperty, MediaTrackSetting>) -> Self { in new() argument
42 pub fn into_inner(self) -> HashMap<MediaTrackProperty, MediaTrackSetting> { in into_inner() argument
48 type Target = HashMap<MediaTrackProperty, MediaTrackSetting>;
63 T: Into<MediaTrackProperty>,
74 type Item = (MediaTrackProperty, MediaTrackSetting);
75 type IntoIter = std::collections::hash_map::IntoIter<MediaTrackProperty, MediaTrackSetting>;
/webrtc/constraints/src/capabilities/
H A Dtrack.rs10 use crate::{MediaTrackCapability, MediaTrackProperty};
31 pub struct MediaTrackCapabilities(HashMap<MediaTrackProperty, MediaTrackCapability>);
35 pub fn new(capabilities: HashMap<MediaTrackProperty, MediaTrackCapability>) -> Self { in new() argument
40 pub fn into_inner(self) -> HashMap<MediaTrackProperty, MediaTrackCapability> { in into_inner() argument
46 type Target = HashMap<MediaTrackProperty, MediaTrackCapability>;
61 T: Into<MediaTrackProperty>,
72 type Item = (MediaTrackProperty, MediaTrackCapability);
73 type IntoIter = std::collections::hash_map::IntoIter<MediaTrackProperty, MediaTrackCapability>;
/webrtc/constraints/src/constraints/
H A Dconstraint_set.rs13 MediaTrackConstraintResolutionStrategy, MediaTrackProperty, MediaTrackSupportedConstraints,
41 pub struct GenericMediaTrackConstraintSet<T>(IndexMap<MediaTrackProperty, T>);
44 pub fn new(constraint_set: IndexMap<MediaTrackProperty, T>) -> Self { in new() argument
48 pub fn into_inner(self) -> IndexMap<MediaTrackProperty, T> { in into_inner() argument
54 type Target = IndexMap<MediaTrackProperty, T>;
75 U: Into<MediaTrackProperty>,
86 type Item = (MediaTrackProperty, T);
87 type IntoIter = indexmap::map::IntoIter<MediaTrackProperty, T>;
126 let index_map: IndexMap<MediaTrackProperty, _> = self in into_sanitized()
H A Dmandatory.rs10 MediaTrackConstraint, MediaTrackConstraintResolutionStrategy, MediaTrackProperty,
126 U: Into<MediaTrackProperty>,
137 type Item = (MediaTrackProperty, T);
138 type IntoIter = indexmap::map::IntoIter<MediaTrackProperty, T>;
/webrtc/constraints/src/algorithms/fitness_distance/
H A Dsettings.rs3 use crate::{MediaTrackProperty, MediaTrackSettings, SanitizedMediaTrackConstraintSet};
11 pub setting_errors: HashMap<MediaTrackProperty, SettingFitnessDistanceError>,
18 let results: HashMap<MediaTrackProperty, _> = self in fitness_distance()
29 let mut setting_errors: HashMap<MediaTrackProperty, SettingFitnessDistanceError> = in fitness_distance()
/webrtc/constraints/src/algorithms/select_settings/
H A Dapply_mandatory.rs9 MediaTrackProperty, MediaTrackSettings, SanitizedMediaTrackConstraintSet,
33 let mut failed_constraints: HashMap<MediaTrackProperty, ConstraintFailureInfo> = in apply_mandatory_constraints()
137 &MediaTrackProperty::from(""), in overconstrained()
H A Dtests.rs164 use crate::MediaTrackProperty;
181 assert_eq!(error.constraint, MediaTrackProperty::from("")); in protected()