You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExoPlayer stop reproducing videos (fall into UNEXPECTED exception) when it tries to dynamically switch between surfaces and/or release/capture a new surface on Moto E (4) devices.
Most probably related to the issues: #3835, #4104, #3535.
I cloned the ExoPlayer locally (as per the README instructions) and tried to add the device to the workaround method "codecNeedsSetOutputSurfaceWorkaround()" as shown in the code bellow:
And after testing in our dev environment it seems to have solved the problem, so I'm pretty sure it's related to the listed issues.
Reproduction steps
Try to switch between or release/capture surfaces on the specified device.
Also managed to reproduce in the demos by starting a video and backing to parent activity causing crash on surface release.
Link to test content
In this case it happened with any video streamed from links offered by the Vimeo API to our company's app.
Version of ExoPlayer being used
Tested on versions 2.6.x, 2.7.0 and 2.7.3.
Device(s) and version(s) of Android being used
Model: Moto E (4), Android 7.1.1, DEVICE/PRODUCT: "woods_f".
As of now no other device we tested or that has been using our app has encountered this problem.
The text was updated successfully, but these errors were encountered:
@PedroMT:
Could you also provide the name of the decoder used in that device, so we can target this workaround more specifically. The name is provided as the name param for the codecNeedsSetOutputSurfaceWorkaround method.
Issue description
ExoPlayer stop reproducing videos (fall into UNEXPECTED exception) when it tries to dynamically switch between surfaces and/or release/capture a new surface on Moto E (4) devices.
Most probably related to the issues: #3835, #4104, #3535.
I cloned the ExoPlayer locally (as per the README instructions) and tried to add the device to the workaround method "codecNeedsSetOutputSurfaceWorkaround()" as shown in the code bellow:
And after testing in our dev environment it seems to have solved the problem, so I'm pretty sure it's related to the listed issues.
Reproduction steps
Try to switch between or release/capture surfaces on the specified device.
Also managed to reproduce in the demos by starting a video and backing to parent activity causing crash on surface release.
Link to test content
In this case it happened with any video streamed from links offered by the Vimeo API to our company's app.
Version of ExoPlayer being used
Tested on versions 2.6.x, 2.7.0 and 2.7.3.
Device(s) and version(s) of Android being used
Model: Moto E (4), Android 7.1.1, DEVICE/PRODUCT: "woods_f".
As of now no other device we tested or that has been using our app has encountered this problem.
The text was updated successfully, but these errors were encountered: