native_video_view
native_video_view copied to clipboard
black screen with sound
Hi, I have a problem, always the first time I enter the video screen, it show me black frame with sound, when I press hot reload, the image appears correctly.
Debug console first time W/MediaPlayer( 803): Couldn't open file on client side; trying server side: java.io.FileNotFoundException: No content provider: https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4 I/MediaHTTPConnection( 803): proxyName: 0.0.0.0 0 I/MediaHTTPConnection( 803): proxyName: 0.0.0.0 0 D/MediaPlayer( 803): setSubtitleAnchor in MediaPlayer I/MediaHTTPConnection( 803): proxyName: 0.0.0.0 0 W/MediaPlayer( 803): info/warning (703, 0)
Second time, when it works correctly E/Surface ( 803): getSlotFromBufferLocked: unknown buffer: 0xb9a1a448 W/MediaPlayer( 803): Couldn't open file on client side; trying server side: java.io.FileNotFoundException: No content provider: https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4 I/MediaHTTPConnection( 803): proxyName: 0.0.0.0 0 I/MediaHTTPConnection( 803): proxyName: 0.0.0.0 0 Reloaded 4 of 864 libraries in 2.729ms. D/MediaPlayer( 803): setSubtitleAnchor in MediaPlayer I/MediaHTTPConnection( 803): proxyName: 0.0.0.0 0 W/MediaPlayer( 803): info/warning (703, 0) W/MediaPlayer( 803): info/warning (701, 0)
I`m using on Android real device, but I'm new to mobile development..