Skip to content

Commit

Permalink
fix register3rdPartyLocalMediaStream doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hthetiot committed May 30, 2023
1 parent 0d426eb commit 48e60f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/easyrtc_int.js
Original file line number Diff line number Diff line change
Expand Up @@ -1856,6 +1856,8 @@ var Easyrtc = function() {
* Allow an externally created mediastream (ie, created by another
* library) to be used within easyrtc. Tracking when it closes
* must be done by the supplying party.
* @param {MediaStream} stream - the MediaStream to register.
* @param {String} streamName - the streamName of the new registered MediaStream.
*/
this.register3rdPartyLocalMediaStream = function(stream, streamName) {
return registerLocalMediaStreamByName(stream, streamName);
Expand Down Expand Up @@ -2028,7 +2030,7 @@ var Easyrtc = function() {
* the microphone, sounds stops being transmitted to your peers. By default, the microphone
* is enabled.
* @param {Boolean} enable - true to enable the microphone, false to disable it.
* @param {String} streamName - an optional streamName
* @param {String} streamName - an optional streamName.
*/
this.enableMicrophone = function(enable, streamName) {
var stream = getLocalMediaStreamByName(streamName);
Expand Down

0 comments on commit 48e60f0

Please sign in to comment.