Using WebRTC on Android and feed H.264 video

49 views
Skip to first unread message

pragnesh patel

unread,
Sep 27, 2018, 1:42:09 AM9/27/18
to discuss-webrtc
Hello All,

My intension is to do WebRTC streaming from custom hardware running Android. I have a UVC camera connected to a hardware and I am using Android MediaCodec APIs to get H.264 frames. Is there a way to push either H.264/YUV frames to WebRTC instead of letting it capture frames from Android default camera (i.e. front and back camera).

I also have Live555 server running on my hardware not sure if I can use RTSP stream as an input to WebRTC. webrtc-streamer works on linux platform but I am not able to run it on Android, cross compiled library is giving lot of crashes, not sure if that is a correct way to go.

I have gone through the WebRTC android sample applications, they look tightly coupled to android camera APIs. What should be the best approach to make this working? Any pointers of help is much appreciated.

Thanks,
Pragnesh


Reply all
Reply to author
Forward
0 new messages