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
I tried to find answer and looked through the Android code on the grep code. So just to be 100% will ask here. Is it possible to adopt Yours DoubleDecodeActivity approach to have 2 Activities and share video between them i.e. call recreateView() from an another Activity? I suppose no. I've tried and your approach perfectly works within the same activity with rotation and etc, but doesn't work when I try to attach TextureView from an another Activity. With
09-01 20:24:57.703 21115-21151/simpleApp E/GLConsumer: [unnamed-21115-0] updateAndRelease: GLConsumer is not attached to an OpenGL ES context
I saw that MediaPlayer allows to attach some other TextureView but didn't go through the code to check if it;s possible with multiple Activities
Could you be so kind to give a hint how it can be achieved (preserve Video stream across Activities).
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi,
I tried to find answer and looked through the Android code on the grep code. So just to be 100% will ask here. Is it possible to adopt Yours DoubleDecodeActivity approach to have 2 Activities and share video between them i.e. call recreateView() from an another Activity? I suppose no. I've tried and your approach perfectly works within the same activity with rotation and etc, but doesn't work when I try to attach TextureView from an another Activity. With
09-01 20:24:57.703 21115-21151/simpleApp E/GLConsumer: [unnamed-21115-0] updateAndRelease: GLConsumer is not attached to an OpenGL ES context
I saw that MediaPlayer allows to attach some other TextureView but didn't go through the code to check if it;s possible with multiple Activities
Could you be so kind to give a hint how it can be achieved (preserve Video stream across Activities).
Thanks in advance
The text was updated successfully, but these errors were encountered: