Hi, Thank you for trying out Crosswalk WebRTC! I've tested the sample application per guide from https://crosswalk-project.org/documentation/webrtc.html. It works on my ZTE Geek phone. Could you please check that your android phone is connected to the server? It ought to print message as 'new connection with id xxx' from server side. Below is my test procedure for your reference. Server(10.239.37.35): 1) ./run.sh, got the ip address and port. 10.239.37.35:9000
Linux desktop client(10.239.37.35): 1) edit main.js, line 'var SERVER_IP = '192.168.0.25';' to the correct server ip address 10.239.37.35. 2) make sure all chrome processes are killed, by '$killall chrome' 3) run index.html by $ google-chrome --allow-file-access-from-files file:///<path to xwalk-webrtc>/client/index.html Android mobile client(192.168.42.223): 1) Fork new webrtc sample application, 2) Connect android phone to linux desktop with USB cable. 3) Let the phone share desktop's network, then '$ifconfig' to check the assigned ip address for android phone. '192.168.42.223' 3) Edit main.js to the assigned ip address. 192.168.42.223 6) make_apk(crosswalk-9.38.208.10) and then install on android device. Also add Smith Elliot in the loop, I think he is the author of the sample application and may provide your with more details:) Changbin ________________________________ From: Crosswalk-help [[email protected]] on behalf of Kevin Allen [[email protected]] Sent: Saturday, December 06, 2014 7:33 AM To: [email protected] Subject: [Crosswalk-help] Crosswalk WebRTC streams get no remote feed I'm starting to work with WebRTC, and trying out Crosswalk as a potential for use in the Android part of the system. I've been trying to get the demo up and running, but whenever I make the call, I get no remote video on either end of the connection. Here's things I've tried/confirmed: - Basic setup works. I can connect fine using two tabs in the same browser - Communication obviously works (previous test) - If an Android device is in the mix, it fails. This holds true for Android--Desktop, and Android--Android - Sample code from the repository is unchanged, with the sole exception that I added a Server IP field for entry, replacing the hardcoded IP - Attempted debug/inspection. The full JS completes on each call/event. No errors are reported or exceptions thrown. Element inspection looks fine, and in both cases the successful Desktop--Desktop case shows no visible differences from the Android--Desktop case. Checked on both the desktop and the devices via remote debugging and chrome://inspect. - Tried three different devices (Nexus 4, Nexus 10, Samsung Galaxy S4) with identical results on each - Tried two different versions of Crosswalk (9 and 8) ...and I'm out of other ideas. Any help appreciated! _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
