-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
How to parse Server's "frame meta"? #3995
Comments
Here are relevant pointers: Lines 77 to 96 in cb20bcb
scrcpy/server/src/main/java/com/genymobile/scrcpy/Streamer.java Lines 83 to 100 in cb20bcb
|
Thank you very much! I think this is enough to solve my needs:
I will close this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm trying to write a go implementation of the Scrcpy client. When I insert the obtained h264 stream data into the libavcodec's decoder, I sometimes get this error
I think this is because I am not splitting the NALU data correctly and wrapping it into the AVPacket.
To simplify the code, as you did in #646, I want to parse the
frame meta
data to read the complete NALU packet one by one.I didn't understand the Server java code and I'm using version 1.25.
Can you give me some clues?
The text was updated successfully, but these errors were encountered: