Prepare MediaDrmBridge to work with MediaCodecPlayer
This CL is a prerequisite for MediaCodecPlayer stage 7 (DRM)
https://codereview.chromium.org/1344133002/
If the MediaCodecPlayer we post the callback that the MediaCrypto
is ready and all PlayerTracker related callbacks to the media
thread. We also delete the MediaDrmBridge on the media thread.
As a result we create the MediaCrypto object on UI thread
and pass it to the MediaCodec.configure() on media thread.
BUG=407577
Review URL: https://codereview.chromium.org/1341883003
Cr-Commit-Position: refs/heads/master@{#351588}
28 files changed