Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 committed Aug 1, 2024
1 parent 15c490d commit f3cd8df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ export class HMSLocalAudioTrack extends HMSAudioTrack {

if (this.pluginsManager.pluginsMap.size > 0) {
this.pluginsManager.pluginsMap.forEach(value => {
track.addPlugin(value);
track
.addPlugin(value)
.catch((e: Error) => HMSLogger.e(this.TAG, 'Plugin add failed while migrating', value, e));
});
}
return track;
Expand Down
1 change: 0 additions & 1 deletion packages/hms-video-store/src/transport/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ export default class HMSTransport {
if (!localPeer) {
return;
}
console.log('creating peer connections');
this.createPeerConnections();
this.trackStates.clear();
await this.negotiateOnFirstPublish();
Expand Down

0 comments on commit f3cd8df

Please sign in to comment.