New way to capture multiple devices in janus.js

169 views
Skip to first unread message

Lorenzo Miniero

unread,
Jun 15, 2022, 11:28:23 AM6/15/22
to meetecho-janus
Hi all,

I've started making some changes to janus.js to be able to more easily capture multiple tracks, update sessions, replace tracks, etc.:


It's a WIP but the new API is mostly there. I'd really appreciate some feedback, especially considering that this will replace the existing "media" object you pass when creating PeerConnection. If you do want to test, please read the PR description, and share any finding on the PR itself.

Thanks!
Lorenzo

Mohtashim

unread,
Jun 15, 2022, 12:23:48 PM6/15/22
to Lorenzo Miniero, meetecho-janus
This is a great feature indeed.

I will request to have a sample program where we can relay a webcam and then add a screen share on top of it. That's a perfect and I think the most frequently use case.

Thank you very much for your great effort.

Kind Regards
Mohammad Mohtashim


--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/6db79418-2b06-4fca-821d-37cfe7fd103dn%40googlegroups.com.

Lorenzo Miniero

unread,
Jun 16, 2022, 7:13:47 AM6/16/22
to meetecho-janus
Notice that, while you can put webcam and screen together, it's apparently not recommended:

L.

Lorenzo Miniero

unread,
Jun 17, 2022, 10:35:53 AM6/17/22
to meetecho-janus
Gentle reminder to everyone to start testing the PR. Most of the issues have been fixed, so we consider this functionally complete now.
This could have an impact on your applications, if you use janus.js, so make sure to test it works for you BEFORE we merge (which will probably happen relatively son).

Thanks,
Lorenzo
Reply all
Reply to author
Forward
0 new messages