-
Notifications
You must be signed in to change notification settings - Fork 0
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
mute all #1
base: master
Are you sure you want to change the base?
mute all #1
Conversation
* @param callback {Function} The function to call upon completing the operation. Two arguments | ||
* are passed to the function: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the second argument?
@@ -420,6 +420,37 @@ opentok.forceDisconnect(sessionId, connectionId, function (error) { | |||
This is the server-side equivalent to the forceDisconnect() method in OpenTok.js: | |||
<https://www.tokbox.com/developer/guides/moderation/js/#force_disconnect>. | |||
|
|||
### Force Mute a participant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Force Mute a participant | |
### Force a publisher to mute audio |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a PR to this PR to add docs edits: #2. @OmriShraga , please review and merge in if it looks good. (I was not able to commit directly to your PR.)
* @param callback {Function} The function to call upon completing the operation. Two arguments | ||
* are passed to the function: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two arguments?
}, callback); | ||
}; | ||
|
||
handleForceMute = function (config, sessionId, streamId, excludedStreamIds = null, callback) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linting error here. The codebase is not using ES6 (and default parameters). And there are other linting errors. Please run npm run lint
.
added force mute and force mute all