[M120 Migration][MM] Framerate calculation
[platform/framework/web/chromium-efl.git] / media / mojo / mojom / cast_application_media_info_manager.mojom
1 // Copyright 2018 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module media.mojom;
6
7 struct 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;
14 };
15
16 // This is a service attached to RenderFrameHost.
17 interface CastApplicationMediaInfoManager {
18   // Returns the CastApplicationMediaInfo associated with the
19   // RenderFrameHost, i.e., the application.
20   GetCastApplicationMediaInfo() =>
21     (CastApplicationMediaInfo cast_application_media_info);
22 };