Cloudkibo / Android

0 stars 0 forks source link

(webrtc library update) Camera Capture is now on a thread #535

Closed sojharo closed 7 years ago

sojharo commented 7 years ago

The way we used to capture camera on android during video call has been completely changed in the new version of library. They are creating its own threads and observers now. With this our old code of camera capturing is not working.

jekram commented 7 years ago

This is WenRTC related to Video Conferencing only and not impacting KiboChat. Correct?

sojharo commented 7 years ago

Yes, just related to Video Conferencing parts.

jekram commented 7 years ago

Then let's do this when we upgrade the WebRTC code

sojharo commented 7 years ago

I have already started to upgrade. I have also opened some issues as part of update.

jekram commented 7 years ago

OK.

sojharo commented 7 years ago

I worked on it yesterday. After understanding the API, I was able to write separate class and observer for camera capturing. However, it crashes when I try to run the video call. I am still working on this.

sojharo commented 7 years ago

This is under construction. I was able to solve the crash. It is not showing the capture stream to me on video renderer. So I had to read their code again and make some changes. Still I am unable to see the captured video.

jekram commented 7 years ago

Ok

sojharo commented 7 years ago

I have completed the work on this now. I am able to see the captured stream.

jekram commented 7 years ago

Thanks