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

Does this library support audio only publishing? #94

Open
natario1 opened this issue Jan 15, 2021 · 2 comments
Open

Does this library support audio only publishing? #94

natario1 opened this issue Jan 15, 2021 · 2 comments

Comments

@natario1
Copy link

Does this lib support audio-only publishing through RTMPMuxer ?
I'm passing videoWidth = 0 and videoHeight = 0, but stream is not playable. If I enable video, it works.

Is it possible that you are passing too much data here?

https://github.com/ant-media/LibRtmp-Client-for-Android/blob/master/rtmp-client/src/main/cpp/flvmuxer/xiecc_rtmp.c#L189-L195

Maybe some of these should not be set when video track is absent.
If you could give me some hints I can create a PR.

@natario1
Copy link
Author

natario1 commented Jan 15, 2021

This is how another lib handles this part https://github.com/shogo4405/HaishinKit.kt/blob/567d309bbc34c5f795a55a46e76ef73f665c60b3/haishinkit/src/main/java/com/haishinkit/rtmp/RtmpStream.kt#L338-L352

It also seems like videoframerate should be framerate instead: https://www.adobe.com/content/dam/acom/en/devnet/flv/video_file_format_spec_v10.pdf , although this library only declares the constant without actually using it.

@mekya
Copy link
Contributor

mekya commented Feb 16, 2021

Hi @natario1 ,

We don't maintain this project anymore. We provide free Android & iOS WebRTC SDK for Ant Media Server. They support audio only publishing. You can download it on website (https://antmedia.io)

Regards,
A. Oguz

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

2 participants