MediaStreamTrack.getSources is not a function

597 views
Skip to first unread message

Nolan Darilek

unread,
Sep 13, 2015, 11:15:24 PM9/13/15
to meetech...@googlegroups.com
Trying to refactor to janus.js under Firefox and am hitting this error.

Am I missing a shim or something? This function indeed does not seem to
exist under Firefox, but the latest janus.js seems to expect that it does.

Thanks.

Lorenzo Miniero

unread,
Sep 14, 2015, 4:03:12 AM9/14/15
to meetecho-janus

Nolan Darilek

unread,
Sep 14, 2015, 11:06:43 AM9/14/15
to meetech...@googlegroups.com
Yup, that did it, thanks! I was installing adapter.js from Bower and
that shim wasn't included. Copying it from Git master worked.

Lorenzo Miniero

unread,
Sep 14, 2015, 11:12:05 AM9/14/15
to meetecho-janus
The adapter.js listed in the bower.json we have on github should contain it:

Not sure as I didn't prepare the file nor the patch that fixed this.
L.
Reply all
Reply to author
Forward
0 new messages