Description
Excited to announce this MR! Gretafoon is now ready to be tested through Luisterdoos.
The base plugin supports calling someone through Speech. It will initiate a call and wait for the other person to connect. After 30 seconds it will time out and return to Speech, if the other person does not connect.
If the other person does connect, it will in fact set up an audio or video call. Both are supported and are dependent upon the hardware of the other person. It is also supported to have Luisterdoos send video to the other person. You can enable or disable that through the settings.
One can always end the call by pressing the "Ophangen" button. If the other party disconnects, the call will automatically end. In both cases control will be returned to Speech.
Testing
You can test it out by first cloning this branch and doing Django migrations. This will automatically create a new Configuration object for Gretafoon. There's no need to pull new packages into Node.
Now simply start Speech and ask Greta to call someone ("Bel Frank", "Kan je Frank Noorlander voor me bellen", ...). The system will now set up a call and you will have to connect to it through another device.
On another device, go to one of the following JsFiddles and type in the number 18
when prompted to do so. This will connect you to Luisterdoos' call. By simply closing JsFiddle or disconnecting through Luisterdoos, the connection will be closed. Please note that the JsFiddle does not currently support ending the call when Luisterdoos disconnects.
MR links
This MR includes code from !30 (merged) to load its dependencies (RTCMultiConnection) and !26 (merged). Please review those MRs before merging this one.