try saving the ice candidates in an array and add them after creating a peerconnection
Merge branch 'master' of https://github.com/jonathanazulay/webrtc-test