Last weekend I decided to clone what I imaginged would be a somewhat complicated app: WhatsApp. Particularly the video I was worried about. Currently, Safari, including mobile Safari does not support WebRTC as a means of communication for video. But the super heroes over at eface2face created this amazing cordova-plugin-iosrtc which adds WebRTC to cordova/ionic iOS apps! Along with iosrtc, it also includes cordova-plugin-crosswalk-webview for WebRTC inside of Android.
Included with the package is a Node.js, socket.io, and MongoDB backend. All communication for chat happens using socket.io. For video, each peer connects with eachother after sending messages through socket.io to eachother.
It also includes some pretty perfect chat sounds from Chase Kenway.
I decided to release this on the Ionic Marketplace, and you can find it here