Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Extend media.js to be able to handle all times of video/audio/data communications #76

Closed
wants to merge 6 commits into from

Conversation

Standard8
Copy link
Member

This is initial work for supporting audio and data only communications as well as other combinations.

It extends the interfaces to media.js to add possibilities for selection of different types of calls, and adds unit testing for all the interfaces.

var chan = pc.createDataChannel("Talkilla");

pc.ondatachannel = function(aEvent) {
app.trigger("add_data_channel", chan, aEvent.chan);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you wanted to write aEvent.channel here (here is the code sending this event: http://hg.mozilla.org/mozilla-central/annotate/c190422547ed/dom/media/PeerConnection.js#l1027)

@Standard8
Copy link
Member Author

Closing PR as we have decided to move forward with a backbone based model that provides a better wrapper around the media tools. We may still base some of the unit tests for that model on the ideas provided in this PR.

@Standard8 Standard8 closed this May 29, 2013
@Standard8 Standard8 deleted the extend_media branch June 4, 2013 08:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants