Skip to content

Commit c4e7786

Browse files
committed
remove unused setConfig function
1 parent 49809f4 commit c4e7786

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/streaming/models/MetricsModel.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ function MetricsModel() {
5858
streamMetrics = {};
5959
}
6060

61-
function setConfig(config) {
62-
if (!config) return;
63-
}
64-
6561
function metricsChanged() {
6662
eventBus.trigger(Events.METRICS_CHANGED);
6763
}
@@ -384,8 +380,7 @@ function MetricsModel() {
384380
addManifestUpdateStreamInfo: addManifestUpdateStreamInfo,
385381
addManifestUpdateRepresentationInfo: addManifestUpdateRepresentationInfo,
386382
addPlayList: addPlayList,
387-
addDVBErrors: addDVBErrors,
388-
setConfig: setConfig
383+
addDVBErrors: addDVBErrors
389384
};
390385

391386
setup();

0 commit comments

Comments
 (0)