jiafei1986
jiafei1986
@djhi Thank you, I will post it on the StackOverflow.
I also solved this issue by clean and build the project
i change the source cdoe, there are 3 key steps: in StreamingDrmSessionManager 1 : keyRequest = mediaDrm.getKeyRequest(sessionId, schemeInitData.data, schemeInitData.mimeType, MediaDrm.KEY_TYPE_OFFLINE, optionalKeyRequestParameters); 2: in the onKeyResponse method, final byte[] result=mediaDrm.provideKeyResponse(sessionId, (byte[])...
@Matthew-C , actually it is a tricky way i did, i open a player when a download a video to get key, but i wrap the player activity as a...
@botondbutuza Thank you very much, I will try it.
@AquilesCanta Thank you for your response, about the bandwith, there is a user requirement that check the network speed, UI will show green, yellow or red light based on the...
@ojw28 Thank you very very much, i just check the code, found the playback URL does not end with mpd, so the sample code will use ExtractorMediaSource, now i force...
@andrewlewis I just run the demo app, and click the back button to quit the player Acvitiy.
@ojw28 Thanks for your answer. so you mean it will not affect when the user changes the quality during the playback? is it a way to change it during playback?
@ojw28 I tested this method, it also affects during playback, thank you very much. Great work!!!