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

The method of writevideo is not hard to push. When writeaudio is added to push, the video cannot be played #92

Open
wujianwei121 opened this issue Nov 18, 2020 · 1 comment

Comments

@wujianwei121
Copy link

The method of writevideo is not hard to push. When writeaudio is added to push, the video cannot be played
writeVideo方法推送视频没有生硬,加入writeAudio推送时视频无法播放
// type = 1,h264 video stream
Log.d("onEncodeResult", type + " " + length);
if (type == 1) {
rtmpUSB.writeVideo(data, offset, length, Integer.valueOf((int) timestamp));
// FileUtils.putFileStream(data, offset, length);
}
// type = 0,aac audio stream
if (type == 0) {
// rtmpUSB.writeAudio(data, offset, length, Integer.valueOf((int) timestamp));
}

@mekya
Copy link
Contributor

mekya commented Nov 20, 2020

Thank you for the comment.

We right now cannot add new features or bug fixing for this repo unless there is something critical. I mean we don't have resource for that. Sorry.

If you make a PR, you're welcome.

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