ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

Frames are Skipping randomly in When DRM Videos are getting Downloaded and trying to Play

Open piyush2dev opened this issue 6 years ago • 3 comments

@marcbaechinger @erdemguven

Please help.

I am using Exoplayer 2.11.3. I implemented Offline Drm in it. When I am trying to play offline downloaded videos than Video Frames are getting skipped randomly and video is getting skipped randomly. Please find the attached Video for the same.

//This is the Video of the Issue coming in 2.11.3 as mentioned above. Video Link of the Issue https://www.youtube.com/watch?v=a6XXsYwIl6I&feature=youtu.be

In Logs Something like this is coming continously:

droppedFrames [eventTime=0.69, mediaPos=11.26, window=0, period=0, 179]
droppedFrames [eventTime=4.26, mediaPos=29.63, window=0, period=0, 282]
droppedFrames [eventTime=27.42, mediaPos=131.30, window=0, period=0, 88]

*In 2.10.4 this issue was not coming.

Code Which is Used in 2.11.3 is given below

DefaultDrmSessionManager<ExoMediaCrypto> drmSessionManager =new DefaultDrmSessionManager.Builder()
              .setUuidAndExoMediaDrmProvider(drmInfo.drmScheme, FrameworkMediaDrm.DEFAULT_PROVIDER)
              .setMultiSession(drmInfo.drmMultiSession)
              .build(mediaDrmCallback);
drmSessionManager.setMode(DefaultDrmSessionManager.MODE_PLAYBACK, offlineLicenseKeySetId);
 DownloadRequest downloadRequest =((DemoApplication) getApplication())
            .getDownloadTracker()
            .getDownloadRequest(parameters.uri);

   if (downloadRequest != null) {
      return DownloadHelper.createMediaSource(downloadRequest, dataSourceFactory, drmSessionManager);

piyush2dev avatar Mar 25 '20 17:03 piyush2dev

Please provide complete information as is requested in the issue template. Please copy/paste the issue template into this issue and fill it out, rather than filing a new issue.

ojw28 avatar Jun 08 '20 20:06 ojw28

Hey @piyush2dev. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Jun 26 '20 01:06 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@piyush2dev if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Jul 07 '20 01:07 google-oss-bot