-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get frames without setting the format #1494
Comments
Hi @LairCortex, The RtspMediaTrack method still needs to provide a Format, just not with the sps parameters provided by the processH264FmtpAttribute method. You would then need to update the format information in the RtpH264Reader class with those values you get from that first frame. It is difficult to provide advice without seeing how you are customizing the code. Would you be able to provide an example repo showcasing the changes you are making? |
Hi @microkatz, |
That's great! It would be in the processSingleNalUnitPacket(or other processing Nal unit method in
Do you have an sample RTSP server that we could use to test this as well? |
Hey @LairCortex. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @LairCortex if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
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 google/ExoPlayer#10971 (comment) , 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
The text was updated successfully, but these errors were encountered: