{"json_modified": "2016-10-19T15:15:16.912941", "uuid": "7377613a-a0b3-4cda-b328-3a792ba70b98", "title": "MediaTrackSettings.sampleSize", "url": "/en-US/docs/Web/API/MediaTrackSettings/sampleSize", "tags": ["API", "WebRTC", "Reference", "Property", "Media Streams API", "Settings", "MediaTrackSettings", "Audio", "sampleSize", "Media Capture and Streams API", "Media", "audio"], "translations": [], "modified": "2016-10-19T15:15:17", "label": "MediaTrackSettings.sampleSize", "localization_tags": [], "locale": "en-US", "id": 196771, "last_edit": "2016-10-19T15:15:11", "summary": "The MediaTrackSettings
dictionary's sampleSize
property is an integer indicating the linear sample size (in bits per sample) the MediaStreamTrack
is currently configured for. This lets you determine what value was selected to comply with your specified constraints for this property's value as described in the MediaTrackConstraints.sampleSize
property you provided when calling either getUserMedia()
or MediaStreamTrack.applyConstraints()
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Value", "title": "Value"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/MediaTrackSettings/sampleSize", "review_tags": []}