New issue
Advanced search Search tips

Issue 675011 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

EncryptedMediaTest: Support setting MediaKeys after play()

Project Member Reported by xhw...@chromium.org, Dec 16 2016

Issue description

Today we always setMediaKeys before we play(). 

https://cs.chromium.org/chromium/src/media/test/data/eme_player.html?rcl=0&l=148

It would be nice to also support the other way: setting MediaKeys after play().
 
Good idea, this can improve DRM video loading speed when some DRM videos which starts with clear content.
However, it seems that we disallow video encryption config change from unencrypted => encrypted:

In SourceBufferStream::UpdateVideoConfig

if (!video_configs_[0].encryption_scheme().Matches(
        config.encryption_scheme())) {
  MEDIA_LOG(ERROR, media_log_) << "Video encryption changes not allowed.";
  return false;
}
Re #1: We have a bug to remove this restriction. See  issue 597443 .
Labels: M-58
This is needed for tests related to  issue 597443 .
Labels: -M-58 M-65
Status: Assigned (was: Available)
Labels: -M-65 M-68
Labels: -M-68
Removing milestone as this is a low priority issue.

Sign in to add a comment