Im a bit confused, Ive only seen examples from android to pc or vice versa. I need to make an android app that connects from two phones(android) for video chat. I was wondering, I know it might be a silly question, but can you do that with webrtc? Do you know any good tutorials that explains it or something similar? Or can you recommend any good books that treats the subject?
Does my project need to be in a Linux enviroment machine?
Edited: Okay Ive implemented it on the web, it works for pc browsers. But I cannot put it in a Web View since Android´s native browser does not allow access to native camera. So how can I put the html and javascript code inside the android app without using its browser?
You can use WebRTC facilities in the Android Platform with the help of Ant Media Server's Native WebRTC Android SDK. In this blog post, features of Webrtc Android SDK will be presented with a sample Android project which comes bundled with the SDK.
The "WebRTC" (Web Real-Time Communication) is an open-source protocol that allows real-time communication and data sharing between different browsers and devices. It allows sharing of voice, video, and data over the web. It is a protocol that sets two-way communication between two browsers in real-time.
Yes, you can do this with WebRTC. It's already done, and was already done at the time of this question.
The AppRTCDemo program from here is an Android WebRTC client. Using Google's server infrastructure, you can connect any two WebRTC peers, including two Android peers. As far as I know, there is not a binary Android implementation available, but you can download the source code (it's massive, ~15GB) and build this yourself, with no actual programming required.
If you want to implement your own server component, you can start from the apprtc source code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With