androidx / media

Jetpack Media3 support libraries for media use cases, including ExoPlayer, an extensible media player for Android
https://developer.android.com/media/media3
Apache License 2.0
1.53k stars 373 forks source link

EVENT_VIDEO_SIZE_CHANGED not called then video tracks are not supported, but played #1443

Open thathorizon opened 2 months ago

thathorizon commented 2 months ago

Hi! I tried to play 50 fps stream. On some devices track are not supported, even when I use flag allowExceedsCapabilities = true. But ExoPlayer plays them perfectly. EVENT_VIDEO_SIZE_CHANGED not called after beginning of playing. When I change track EVENT_VIDEO_SIZE_CHANGED is called. But not called when playing starting on first time. Why?

Is't reproduced on Xiaomi Redmi Note 10 (Android 11), Samsung Galaxy A05 (Android 14),Tecno Phantom V Fold Not reproduced on Nothing Phone 2

microkatz commented 2 months ago

Hi! Please provide complete information as requested in the issue template. The issue template can be found here. If you're unable to share bug reports or test content publicly, please send them to android-media-github@google.com with the subject Issue #1443. Please also update this issue to indicate you've done this.

The onVideoSizeChanged event should be called at the beginning of playing. Are you able to reproduce this on the demo application?