summaryrefslogtreecommitdiffstats
path: root/mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaManager.aidl
blob: 2cc6d56945cf6e85fe3f494e895c8d54b967dedb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package org.mozilla.gecko.media;

// Non-default types used in interface.
import org.mozilla.gecko.media.ICodec;
import org.mozilla.gecko.media.IMediaDrmBridge;

interface IMediaManager {
    /** Creates a remote ICodec object. */
    ICodec createCodec();

    /** Creates a remote IMediaDrmBridge object. */
    IMediaDrmBridge createRemoteMediaDrmBridge(in String keySystem,
                                               in String stubId);

    /** Called by client to indicate it no longer needs a requested codec or DRM bridge. */
    oneway void endRequest();
}