Skip to content
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

add rtp header before raw aac / 264 data #296

Open
givenchyhuang opened this issue Jan 6, 2020 · 0 comments
Open

add rtp header before raw aac / 264 data #296

givenchyhuang opened this issue Jan 6, 2020 · 0 comments

Comments

@givenchyhuang
Copy link

I was writing a program that could pack RTP header before h264 & aac. but I was confused with RTP timestamp field.
If the video codec is h264, the timestamp could be added by 90000/fps with each frame.
I have no idea about the aac.
My aac sample rate is 8000HZ,config=1588 and each frame is 250 ~ 520.
How to calculate the audio rtp timestamp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant