-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support toggling audio/video in subscribed streams. #239
Conversation
Pull Request Test Coverage Report for Build 2299528517
💛 - Coveralls |
Totally :-) Thanks a lot! Only one thing: the However, after modifying the code... it seems that Janus (at least version 0.11.3) ignores the In any case, if a renegotiation enables again audio and video this would not be a problem, as a new *In master Talk:
|
I updated the PR to also support From reading the code of Janus, they should also be evaluated with |
Yes, I added a Nevertheless, I also added |
Checked the Janus code again and found the issue: meetecho/janus-gateway#2963 |
Nice catch! :-D If I understand it correctly your fix solves both issues, right? I mean:
|
I only tested the second part and this was fixed. Didn't test the first scenario yet but assume this will be fixed, too. |
The command `selectStream` also supports optional boolean flags `audio` and `video` that can be used to enable/disable receiving the corresponding media from the stream.
589aa16
to
3cb8fc1
Compare
Follow-up to #191
The command
selectStream
also supports optional boolean flagsaudio
andvideo
that can be used to enable/disable receiving the corresponding media from the stream. The parameters ofselectStream
can also be included in the payload ofrequestoffer
for example to subscribe a stream with video initially disabled.The new flags are similar to the existing
substream
/temporal
.@danxuliu please review, is this something you could work with?