RtmpPublisher icon indicating copy to clipboard operation
RtmpPublisher copied to clipboard

Is it possible to stream a raw h264 (come frome virtual display) to server?

Open chienpm304 opened this issue 6 years ago • 6 comments

chienpm304 avatar Aug 15 '19 09:08 chienpm304

Yes it is possible

namespace7 avatar Aug 15 '19 09:08 namespace7

Yes it is possible

Is there any sample about this problem? I tried some library but nothing worked.

chienpm304 avatar Aug 16 '19 15:08 chienpm304

https://github.com/TakuSemba/RtmpPublisher/tree/master/app this might help ! Coded in kotlin.

namespace7 avatar Aug 16 '19 15:08 namespace7

Is your lib still working? I have try your sample on some rtmp server like Restream.io, mixer.com and youtube but nothing worked. I observer the Restream's dashboard that show your app just connect to server about 10s (nothing video/audio appear) and then it offline while your app still running. Please help!

chienpm304 avatar Aug 21 '19 07:08 chienpm304

I had the same issue,seems there is some issue with the library. Still no reply from the library owner :(

namespace7 avatar Aug 21 '19 08:08 namespace7

I explored this library, it is based on https://github.com/ant-media/LibRtmp-Client-for-Android (RTMPMuxer) which call writeVideo(byte[] data ...). In this case ant-media wrote that video data is "h264 nal units", but I have not had any experience about this scope? Any help?

chienpm304 avatar Aug 21 '19 08:08 chienpm304