Commit 15aad266 by mishragaurav Committed by Oliver Woodman

Use separate Widevine license keys to package test audio for Exoplayer GTS.

Android doesn't support secure decoding for audio. Hence use Audio keys that always require L3 support only.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=149764063
parent 6d615194
...@@ -178,10 +178,11 @@ public final class DashHostedTest extends ExoHostedTest { ...@@ -178,10 +178,11 @@ public final class DashHostedTest extends ExoHostedTest {
private static final float MAX_DROPPED_VIDEO_FRAME_FRACTION = 0.01f; private static final float MAX_DROPPED_VIDEO_FRAME_FRACTION = 0.01f;
private static final String MANIFEST_URL_PREFIX = "https://storage.googleapis.com/exoplayer-test-" private static final String MANIFEST_URL_PREFIX = "https://storage.googleapis.com/exoplayer-test-"
+ "media-1/gen-3/screens/dash-vod-single-segment/"; + "media-1/gen-4/screens/dash-vod-single-segment/";
private static final String WIDEVINE_L1_SUFFIX = "-hw.mpd"; // TODO: Don't need separate suffixes. Clean up.
private static final String WIDEVINE_L3_SUFFIX = "-sw.mpd"; private static final String WIDEVINE_L1_SUFFIX = ".mpd";
private static final String WIDEVINE_L3_SUFFIX = ".mpd";
private static final String WIDEVINE_LICENSE_URL = private static final String WIDEVINE_LICENSE_URL =
"https://proxy.uat.widevine.com/proxy?provider=widevine_test&video_id="; "https://proxy.uat.widevine.com/proxy?provider=widevine_test&video_id=";
......
...@@ -88,10 +88,10 @@ public final class DashTestData { ...@@ -88,10 +88,10 @@ public final class DashTestData {
// Widevine encrypted content representation ids. // Widevine encrypted content representation ids.
public static final String WIDEVINE_AAC_AUDIO_REPRESENTATION_ID = "0"; public static final String WIDEVINE_AAC_AUDIO_REPRESENTATION_ID = "0";
public static final String WIDEVINE_H264_BASELINE_240P_VIDEO_REPRESENTATION_ID = "1"; public static final String WIDEVINE_H264_BASELINE_240P_VIDEO_REPRESENTATION_ID = "2";
public static final String WIDEVINE_H264_BASELINE_480P_VIDEO_REPRESENTATION_ID = "2"; public static final String WIDEVINE_H264_BASELINE_480P_VIDEO_REPRESENTATION_ID = "3";
public static final String WIDEVINE_H264_MAIN_240P_VIDEO_REPRESENTATION_ID = "3"; public static final String WIDEVINE_H264_MAIN_240P_VIDEO_REPRESENTATION_ID = "4";
public static final String WIDEVINE_H264_MAIN_480P_VIDEO_REPRESENTATION_ID = "4"; public static final String WIDEVINE_H264_MAIN_480P_VIDEO_REPRESENTATION_ID = "5";
// The highest quality H264 format mandated by the Android CDD. // The highest quality H264 format mandated by the Android CDD.
public static final String WIDEVINE_H264_CDD_FIXED = Util.SDK_INT < 23 public static final String WIDEVINE_H264_CDD_FIXED = Util.SDK_INT < 23
? WIDEVINE_H264_BASELINE_480P_VIDEO_REPRESENTATION_ID ? WIDEVINE_H264_BASELINE_480P_VIDEO_REPRESENTATION_ID
...@@ -113,8 +113,8 @@ public final class DashTestData { ...@@ -113,8 +113,8 @@ public final class DashTestData {
public static final String WIDEVINE_H264_BASELINE_480P_24FPS_VIDEO_REPRESENTATION_ID = "2"; public static final String WIDEVINE_H264_BASELINE_480P_24FPS_VIDEO_REPRESENTATION_ID = "2";
public static final String WIDEVINE_H264_BASELINE_480P_29FPS_VIDEO_REPRESENTATION_ID = "2"; public static final String WIDEVINE_H264_BASELINE_480P_29FPS_VIDEO_REPRESENTATION_ID = "2";
public static final String WIDEVINE_H265_BASELINE_288P_VIDEO_REPRESENTATION_ID = "1"; public static final String WIDEVINE_H265_BASELINE_288P_VIDEO_REPRESENTATION_ID = "2";
public static final String WIDEVINE_H265_BASELINE_360P_VIDEO_REPRESENTATION_ID = "2"; public static final String WIDEVINE_H265_BASELINE_360P_VIDEO_REPRESENTATION_ID = "3";
// The highest quality H265 format mandated by the Android CDD. // The highest quality H265 format mandated by the Android CDD.
public static final String WIDEVINE_H265_CDD_FIXED = public static final String WIDEVINE_H265_CDD_FIXED =
WIDEVINE_H265_BASELINE_360P_VIDEO_REPRESENTATION_ID; WIDEVINE_H265_BASELINE_360P_VIDEO_REPRESENTATION_ID;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment