-
need to push an audio file to an RTMP relay server. The audio file is a WAV file that I have saved. The original WAV file has the following specifications: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, 1 channel, s16, 256 kb/s. The issues I am facing are: How can I ensure that the stream pushed by JavaCV is in PCM_16_8000_1 format with a frame length of 20ms? How can I implement this in code?
I would appreciate it if someone could provide some guidance on this. |
Beta Was this translation helpful? Give feedback.
Answered by
wwfengqi
Aug 15, 2024
Replies: 1 comment
-
i had solve this problem,i use arm_nb codec |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
saudet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i had solve this problem,i use arm_nb codec