↑ WEBRTC EXPERIMENTS

Screen Sharing using RTCMultiConnection

Copyright © 2013 Muaz Khan<@muazkh>.

Join a session:

or open new session:

Local Media Stream

Remote Media Streams



Getting started with RTCMultiConnection

<script src="https://www.webrtc-experiment.com/RTCMultiConnection-v1.1.js"></script>
<script>
    var connection = new RTCMultiConnection();

    // for Screen Sharing; set direction = 'one-way'
    connection.direction = 'one-way';
	
    // and set session = 'only screen'
    connection.session = 'screen';
	
    // to create/open a new session
    connection.open('session-id');
	
    // if someone already created a session; to join it: use "connect" method
    connection.connect('session-id');
</script>


RTCMultiConnection features:

  1. You can open multi-sessions and multi-connections — in the same page
  2. You can share files of any size — directly
  3. You can share text messages of any length
  4. You can share one-stream in many unique ways — in the same page


Source code and Documentation on Github!



Feedback