Added local_stream_added flag to track when the local video stream has been added to the peer_connection. NOTE: Chrome doesn't seem to implement peer_connection.localStreams.length 8( Added create_offer() and create_answer() methods that automagically wait until local_stream_added is true before they send their signals. Added console.log() comments so it's easy to see the different call flows in the console.
Added local_stream_added flag to track when the local video stream has been added to the peer_connection.
NOTE: Chrome doesn't seem to implement peer_connection.localStreams.length 8(
Added create_offer() and create_answer() methods that automagically wait until local_stream_added is true before they send their signals.
Added console.log() comments so it's easy to see the different call flows in the console.

buildar/getting_started_with_webrtc,jchowit/qklab-nodejs,buildar/getting_started_with_webrtc