This demo is out-dated (published on 2013). Please check this instead: https://github.com/webrtc/samples
Switching streams from screen-sharing to audio+video at runtime. (Renegotiation) / Read how to switch streams?