LibRtmp-Client-for-Android
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
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)); }
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.