mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 15:58:43 +00:00
android.hardware.drm@1.4: add setPlaybackId
Bug: 159337195 Bug: 168341163 Test: GtsMediaTestCases MediaDrmTest#testSetPlaybackId Change-Id: Ib0b19c0e60d2d6797a3e4b0cfd3d76a2afb808d9
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
package android.hardware.drm@1.4;
|
||||
|
||||
import @1.0::Status;
|
||||
import @1.0::SessionId;
|
||||
import @1.1::SecurityLevel;
|
||||
import @1.2::IDrmPlugin;
|
||||
|
||||
@@ -47,4 +49,16 @@ interface IDrmPlugin extends @1.2::IDrmPlugin {
|
||||
*/
|
||||
requiresSecureDecoderDefault(string mime) generates (bool secureRequired);
|
||||
|
||||
/**
|
||||
* Set playback id of a drm session. The playback id can be used to join drm session metrics
|
||||
* with metrics from other low level media components, e.g. codecs, or metrics from the high
|
||||
* level player.
|
||||
*
|
||||
* @param sessionId drm session id
|
||||
* @param playbackId high level playback id
|
||||
* @return status the status of the call. The status must be OK on success, or
|
||||
* ERROR_DRM_SESSION_NOT_OPENED if the drm session cannot be found
|
||||
*/
|
||||
setPlaybackId(SessionId sessionId, string playbackId) generates (@1.0::Status status);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user