Значение, представляющее текущий уровень громкости потока в диапазоне от 0.0 до 1.0 . Например, значение 0.5 будет отражать объем, равный половине максимального значения.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eRepresents the current volume level and mute status of a media session stream.\u003c/p\u003e\n"],["\u003cp\u003eProvides a \u003ccode\u003elevel\u003c/code\u003e property (ranging from 0.0 to 1.0) to indicate the stream's volume.\u003c/p\u003e\n"],["\u003cp\u003eIncludes a \u003ccode\u003emuted\u003c/code\u003e property (boolean) to indicate whether the stream is muted.\u003c/p\u003e\n"]]],["The `Volume` class represents a media stream's volume. It has two properties: `level`, a number from 0.0 to 1.0 representing the current volume level (0.5 being half volume), and `muted`, a boolean indicating whether the stream is muted (true) or not. The class includes a constructor `new Volume()`. These properties allow for managing and representing the volume status of a media session.\n"],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).Volume \nclass static\n\nRepresents the volume of a media session stream.\n\nConstructor\n\nVolume\n\nnew\nVolume()\n\nProperties\n\nlevel\n\n(number or undefined)\n\nA value that represents the current stream volume level, ranging from\n`0.0` to `1.0`. For example a value of `0.5` would reflect the volume\nat half of its maximum.\n\nmuted\n\n(boolean or undefined)\n\n`true` indicates that the stream is muted."]]