Skip to content

Commit

Permalink
refactor: remove network quality monitor (webex#3817)
Browse files Browse the repository at this point in the history
Co-authored-by: evujici <evujici@cisco.com>
Co-authored-by: Anna Tsukanova <antsukan@cisco.com>
  • Loading branch information
3 people authored and parv_gour committed Sep 27, 2024
1 parent 71bfd8d commit adc1ecd
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 364 deletions.
2 changes: 1 addition & 1 deletion packages/@webex/media-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"deploy:npm": "yarn npm publish"
},
"dependencies": {
"@webex/internal-media-core": "2.10.0",
"@webex/internal-media-core": "2.10.2",
"@webex/ts-events": "^1.1.0",
"@webex/web-media-effects": "2.18.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@webex/plugin-meetings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
},
"dependencies": {
"@webex/common": "workspace:*",
"@webex/internal-media-core": "2.10.0",
"@webex/internal-media-core": "2.10.2",
"@webex/internal-plugin-conversation": "workspace:*",
"@webex/internal-plugin-device": "workspace:*",
"@webex/internal-plugin-llm": "workspace:*",
Expand Down
7 changes: 4 additions & 3 deletions packages/@webex/plugin-meetings/src/meeting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import {
RoapMessage,
StatsAnalyzer,
StatsAnalyzerEventNames,
NetworkQualityEventNames,
NetworkQualityMonitor,
} from '@webex/internal-media-core';

import {
Expand Down Expand Up @@ -54,7 +56,6 @@ import {
AddMediaFailed,
} from '../common/errors/webex-errors';

import NetworkQualityMonitor from '../networkQualityMonitor';
import LoggerProxy from '../common/logs/logger-proxy';
import EventsUtil from '../common/events/util';
import Trigger from '../common/events/trigger-proxy';
Expand Down Expand Up @@ -6500,7 +6501,7 @@ export default class Meeting extends StatelessWebexPlugin {
});
this.setupStatsAnalyzerEventHandlers();
this.networkQualityMonitor.on(
EVENT_TRIGGERS.NETWORK_QUALITY,
NetworkQualityEventNames.NETWORK_QUALITY,
this.sendNetworkQualityEvent.bind(this)
);
}
Expand Down Expand Up @@ -8193,7 +8194,7 @@ export default class Meeting extends StatelessWebexPlugin {
* @private
* @memberof Meeting
*/
private sendNetworkQualityEvent(res: any) {
private sendNetworkQualityEvent(res: {networkQualityScore: number; mediaType: string}) {
Trigger.trigger(
this,
{
Expand Down
211 changes: 0 additions & 211 deletions packages/@webex/plugin-meetings/src/networkQualityMonitor/index.ts

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion packages/calling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"dependencies": {
"@types/platform": "1.3.4",
"@webex/internal-media-core": "2.10.0",
"@webex/internal-media-core": "2.10.2",
"@webex/media-helpers": "workspace:*",
"async-mutex": "0.4.0",
"buffer": "6.0.3",
Expand Down
Loading

0 comments on commit adc1ecd

Please sign in to comment.