Answers for "test drm streams"

0

test drm streams

new MediaItem.Builder()
            .setUri(Uri.parse("https://storage.googleapis.com/wvmedia/cenc/h264/tears/tears.mpd"))
            .setMediaMetadata(
                new MediaMetadata.Builder().setTitle("Widevine DASH cenc: Tears").build())
            .setMimeType(MIME_TYPE_DASH)
            .setDrmUuid(C.WIDEVINE_UUID)
            .setDrmLicenseUri("https://proxy.uat.widevine.com/proxy?provider=widevine_test")
            .build());
    samples.add(
        new MediaItem.Builder()
            .setUri("https://storage.googleapis.com/wvmedia/cbc1/h264/tears/tears_aes_cbc1.mpd")
            .setMediaMetadata(
                new MediaMetadata.Builder().setTitle("Widevine DASH cbc1: Tears").build())
            .setMimeType(MIME_TYPE_DASH)
            .setDrmUuid(C.WIDEVINE_UUID)
            .setDrmLicenseUri("https://proxy.uat.widevine.com/proxy?provider=widevine_test")
            .build());
    samples.add(
        new MediaItem.Builder()
            .setUri("https://storage.googleapis.com/wvmedia/cbcs/h264/tears/tears_aes_cbcs.mpd")
            .setMediaMetadata(
                new MediaMetadata.Builder().setTitle("Widevine DASH cbcs: Tears").build())
            .setMimeType(MIME_TYPE_DASH)
            .setDrmUuid(C.WIDEVINE_UUID)
            .setDrmLicenseUri("https://proxy.uat.widevine.com/proxy?provider=widevine_test")
            .build());
Posted by: Guest on September-22-2021

Browse Popular Code Answers by Language