make copypaste sample work with new peerconnection

I think this is the last thing to do before merging freedom-v0.6 branch info dev.