[go: nahoru, domu]

blob: 0f36f878f914ee848c21d5bdb2f8fb21c773e673 [file] [log] [blame]
Avi Drissmand387f0922022-09-14 20:51:311// Copyright 2018 The Chromium Authors
Guohui Deng9360e3c2018-07-03 14:54:022// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5module media.mojom;
6
Guohui Deng9a8df282019-04-12 19:11:447struct CastApplicationMediaInfo {
8 // Used by multizone Playback.
9 // Can be empty string if WebContents isn't for a WebApplication.
10 string application_session_id;
11 // True if WebApplication has MIXER_AUDIO feature enabled.
12 // This value is set in Chromecast internal code.
13 bool mixer_audio_enabled;
Yuchen Liu3b9cc5a2024-01-09 18:24:1414 // True if the session is an audio only session.
15 bool is_audio_only_session;
Guohui Deng9a8df282019-04-12 19:11:4416};
17
Guohui Deng9360e3c2018-07-03 14:54:0218// This is a service attached to RenderFrameHost.
Guohui Deng9a8df282019-04-12 19:11:4419interface CastApplicationMediaInfoManager {
20 // Returns the CastApplicationMediaInfo associated with the
21 // RenderFrameHost, i.e., the application.
22 GetCastApplicationMediaInfo() =>
23 (CastApplicationMediaInfo cast_application_media_info);
24};