Giter VIP home page Giter VIP logo

Comments (17)

johnsonzhu avatar johnsonzhu commented on May 25, 2024 1

I use this demo in one LAN, it works. but it does not work in different LAN with my own turn server(rfc5766-turn-server). why? turn server had allot new relay server for each client. but the client cannot send package to the relay server. Would u mind to tell me how can I use the demo in different LAN?
Thank u so much.

from androidrtc.

pchab avatar pchab commented on May 25, 2024

Are you trying to run the project as it is ?

from androidrtc.

nourhanadel59 avatar nourhanadel59 commented on May 25, 2024

now i fix this problem ..
but now when trying to run with my server only appear black screen .. how can i resolve this issue ?

from androidrtc.

pchab avatar pchab commented on May 25, 2024

see issue#34
If nothing happens when you launch the app (black screen), it means that your client could not connect to the server.

from androidrtc.

nourhanadel59 avatar nourhanadel59 commented on May 25, 2024

this is my logcat:
new io instance for "my server url"
Returning key pair
Making certificate for WebRTC
Returning certificate
GC_CONCURRENT freed 1680K, 37% free 9624K/15043K, paused 14ms+10ms, total 147ms

from androidrtc.

pchab avatar pchab commented on May 25, 2024

Are you using ProjectRTC server or a custom server ?

from androidrtc.

nourhanadel59 avatar nourhanadel59 commented on May 25, 2024

custom server

from androidrtc.

pchab avatar pchab commented on May 25, 2024

The client is initialised when he receives a message {'id': }
You should look at ProjectRTC to see what message you must implement. Or modify the message handler if you want to change the server side.

from androidrtc.

nourhanadel59 avatar nourhanadel59 commented on May 25, 2024

ammm .. but my server now connected .. right ?

from androidrtc.

pchab avatar pchab commented on May 25, 2024

I guess. It must handle the signaling part of webrtc.

from androidrtc.

nourhanadel59 avatar nourhanadel59 commented on May 25, 2024

i am download server of this app that called ProjectRTC .. I found the apk of this project but also when try to running it .. just gave me a black screen only !

from androidrtc.

pchab avatar pchab commented on May 25, 2024

Where did you find that apk ? Previous commit of ProjectRTC had the apk of an old version of androidRTC but I removed it. If you wish, I can put the latest version of androidrtc on the repo, or you can build it with android studio.

from androidrtc.

nourhanadel59 avatar nourhanadel59 commented on May 25, 2024

yes .. can you share it with me please ?

On Mon, Apr 6, 2015 at 2:10 PM, Chabardes [email protected] wrote:

Where did you find that apk ? Previous commit of ProjecRTC had the apk of
an old version of androidRTC but I removed it. If you wish, I can put the
latest version of androidrtc on the repo, or you can build it with android
studio.


Reply to this email directly or view it on GitHub
#37 (comment).

from androidrtc.

pchab avatar pchab commented on May 25, 2024

Ok, but again, this apk will point to my own server. If you want to use yours, you need to clone the git, open it with android studio, edit the host value in strings.xml and build.

from androidrtc.

nourhanadel59 avatar nourhanadel59 commented on May 25, 2024

yes i see .. i am already work on it .. but i want to see working apk ..
i want to ask .. after success connection with server .. what the expected
response i should receive ? .. and from and payload refer to what ?
JSONObject json = argument.getJSONObject(0);
String from = json.getString("from");
String type = json.getString("type");
JSONObject payload = null;
if(!type.equals("init")) {
payload = json.getJSONObject("payload");
}
thanks in advance for your help .

On Tue, Apr 7, 2015 at 9:20 AM, Chabardes [email protected] wrote:

Ok, but again, this apk will point to my own server. If you want to use
yours, you need to clone the git, open it with android studio, edit the
host value in strings.xml and build.


Reply to this email directly or view it on GitHub
#37 (comment).

from androidrtc.

pchab avatar pchab commented on May 25, 2024

Link to the android apk.
After a successful connection, the server sends a "id" type message, the payload contains the id of the connected client.
After that when another client calls, there will be a standard webrtc exchange of message: offer/answer and ICE candidates. The payload will contain the sdp or the candidates.

from androidrtc.

Nickx27 avatar Nickx27 commented on May 25, 2024

Hi,
I just tried the project RTC along with the AndroidRTC and it works perfect. I was wondering if we have an option to switch only to audio call(while connected in video call). If there is already a functionality in the existing code, please do let me know.

Thanks

from androidrtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.