Loop/Try Loop: Difference between revisions
< Loop
Jump to navigation
Jump to search
| Line 44: | Line 44: | ||
you should see traces like such in logcat: | you should see traces like such in logcat: | ||
I/Gecko (11667): 1406135778375 MobileId DEBUG getMobileIdAssertion | I/Gecko (11667): 1406135778375 MobileId DEBUG getMobileIdAssertion | ||
Desktop | |||
* about:webrtc | |||
* web console | |||
MSISDN | |||
* SMS is sent via Nexmo | |||
* https://github.com/ferjm/msisdn-verifier-client | |||
** MSISDN for USA: 1650xxxyyyy | |||
** MCC: 310 (for USA) | |||
** MNC: 070 (for ATT) | |||
== Servers == | == Servers == | ||
Revision as of 20:34, 24 July 2014
Last updated: 2014/07/24
Loop is a two way audio video application that uses webRTC to communicate.
Here's a diagram of how it works:
Clients
Firefox OS Loop Client
src: https://github.com/mozilla-b2g/firefoxos-loop-client
Installing Loop Client on device
- flash fxos 2.0 to your phone
- make sure phone has settings > adb and devtools access and remote debugging turned on.
- tether phone to computer
- git clone https://github.com/mozilla-b2g/firefoxos-loop-client.git
- open Fx nightly to about:app-manager
- click connect to device with device id (random 8 character id)
- phone should display allow to connect dialog, click yes
- In Apps tab, click add packaged app
- browse dialog to the firefoxos-loop-client repo location
- click 'update' button
- loop should be installed on phone
- open loop client - follow menu to use
Desktop Firefox Loop Client
- Get Firefox Nightly
- click on the telephone icon in the navigation bar
- copy URL and open it on another device (another person or device)
- click allow when prompted to use cam/mic
Standalone Loop Client and Client Tests
There's a web page that creates the webRTC peer-2-peer call. You can test that here in any browser:
full instructions are here:
Client Debugging
FxOS
- push these gecko prefs:
user_pref("identity.fxaccounts.loglevel", "Debug");
user_pref("services.mobileid.loglevel", "Debug");
you should see traces like such in logcat:
I/Gecko (11667): 1406135778375 MobileId DEBUG getMobileIdAssertion
Desktop
- about:webrtc
- web console
MSISDN
- SMS is sent via Nexmo
- https://github.com/ferjm/msisdn-verifier-client
- MSISDN for USA: 1650xxxyyyy
- MCC: 310 (for USA)
- MNC: 070 (for ATT)
Servers
There are four servers involved:
- Loop-server (call)
- MSISDN gateway
- Firefox Accounts via OAuth
- TokBox TURN server
How to run Tests