-
Notifications
You must be signed in to change notification settings - Fork 217
QBWEBSDK-653 #337
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
QBWEBSDK-653 #337
Conversation
… fixed problem with connection to the chat one by one
…hat.disconnect() stops reconnection actions
…fig.js (5 sec by default)
| audio: self.mediaParam.audio || false, | ||
| video: self.mediaParam.video || false | ||
| }) | ||
| .then(self._replaceTracks.bind(self)) |
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.
wrap in function or bind the context when instance creating
| }; | ||
|
|
||
| /** | ||
| * Switch media stream into audio/video element and replace tracks in peers |
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.
into -> in
| * @param {string} The Id of an element to switch tracks | ||
| * @param {function} A callback to get a result of the function | ||
| */ | ||
| WebRTCSession.prototype.switchVideoSource = function(deviceId, 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.
So is this deviceId or "The Id of an element" ? not clear, please unify
The possibility to switch cameras was added for the Firefox.
Other browsers - comming soon.