In onaddstream for peer connection, don't rely on event.type as it isn't in the spec (get{Audio,Video}Tracks should be used instead if necessary).
Initial chrome integration using adapter.js from apprtc