LibRtmp-Client-for-Android icon indicating copy to clipboard operation
LibRtmp-Client-for-Android copied to clipboard

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

Open wujianwei121 opened this issue 4 years ago • 1 comments

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)); }

wujianwei121 avatar Nov 18 '20 07:11 wujianwei121

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.

mekya avatar Nov 20 '20 10:11 mekya