On Github palavatv / talk-webmontag
<video id="gum-video" autoplay="autoplay"> <script> navigator.webkitGetUserMedia( {video: true, audio: false}, function(stream) { document.getElementById('gum-video').src = webkitURL.createObjectURL(stream); } ); </script> </video>
A few defined JSON messages
join_room(room_id, status)
send_to_peer(peer_id, data)
update_status(status)
joined_room(me, peers)
peer_updated_status(peer_id, peer_status)
error(id, message)
shutdown(seconds)
offer(sdp)
answer(sdp)
ice_candidate(...)