Skip to content

Conversation

@josephfrazier
Copy link
Contributor

Remove irrelevant/bad tests

fixes #34, should fix #23

See onsip#44 (comment)

Note: I x'ed a test that I couldn't get to pass, even though the code works in practice.
@josephfrazier
Copy link
Contributor Author

Does that acquisitions object actually work? I would guess when setting that the stream gets coerced to [Object object] or something.

Oops, I completely forgot that object keys have to be strings. It should be fixed in josephfrazier@d52ca85, but I'm having some trouble getting a test to pass.

  - [23] MediaStreamManager events (onsip#23)

  - [23] MediaHandler events - first cut onsip#23

  - onsip#23 Media event tests - expect spy calls instead of checking flags

  - onsip#23 MediaStreamManager events - dedupe getUserMedia callback wrappers

  Also, fix the test mentioned in onsip#44 (comment)
@josephfrazier
Copy link
Contributor Author

josephfrazier@3b8e806 brings in the changes on the media-events branch, so merging this PR should now fix #23 as well. I also fixed and re-enabled that test from my last comment.

 - mediaHint.dataChannel
 - WebRTC.MediaHandler.on('dataChannel', function (dc) {});
 - WebRTC.MediaHandler.dataChannel

 See wakamoleguy@7839829
… cut

 Usage:

  var session = new SIP.UA().invite('welcome@junctionnetworks.com', {
    media: {
      render: {
        remote: {
          audio: document.createElement('audio'),
          video: document.createElement('video')
        },
        local: {
          audio: document.createElement('audio'),
          video: document.createElement('video')
        }
      }
    }
  });
wakamoleguy added a commit that referenced this pull request Jun 23, 2014
src/WebRTC: make `mediaHint` always be an object literal
@wakamoleguy wakamoleguy merged commit fa5e6bb into onsip:master Jun 23, 2014
@josephfrazier josephfrazier deleted the 34 branch June 23, 2014 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make mediaHint always be an object literal MediaHandler events

3 participants