androidx / media

Jetpack Media3 support libraries for media use cases, including ExoPlayer, an extensible media player for Android
Apache License 2.0
1.34k stars 315 forks source link

Get frames without setting the format #1494

Open LairCortex opened 1 week ago

LairCortex commented 1 week ago

Good afternoon! Our stream doesn't have sprop parameter attached so we can't pass processH264FmtpAttribute RtspMediaTrack check. Found a similar problem and solution in https://github.com/google/ExoPlayer/issues/10971#issuecomment-1431254450 , but the video failed without setting default parameters instead of checking processH264FmtpAttribute - formatBuilder.setWidth(1920).setHeight(1080); We can get parameters from the first frame, but we need to set default format, how can we get frames without setting the format