Skip to content

A library for cross-browser media streaming, screen sharing, data/file sharing, renegotiation, and much more. An all-in-one wrapper for webRTC API packaged for Meteor!

Notifications You must be signed in to change notification settings

fishdude/meteor-RTCMultiConnection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

meteor-RTCMultiConnection

Meteor package for RTCMultiConnection- a webRTC api wrapper for all your cross-browser media streaming needs!

example usage:

mrt add RTCMultiConnection
js
var connection = new RTCMultiConnection();

    connection.session = {
        audio: true,
        video: true
    };

    connection.onstream = function(e) {
        document.body.appendChild(e.mediaElement);
    };

    connection.connect()


    Template.foo.events({
      'click #init': function () {
        this.disabled = true;
        connection.open();
        console.log("connection initiated");
      }
    });
html
<template name="foo">
 	<button id="init">Open New Connection</button>
</template>

About

A library for cross-browser media streaming, screen sharing, data/file sharing, renegotiation, and much more. An all-in-one wrapper for webRTC API packaged for Meteor!

Resources

Stars

Watchers

Forks

Packages

No packages published