From 6a55139c94892f582e0caf5fd0c780a88eeba9d3 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Mon, 10 Jun 2024 15:38:44 +0200 Subject: [PATCH] Fix typo in ondowntrack callback. Fortunately we're not using the mistyped arguments. --- static/galene.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/galene.js b/static/galene.js index 79da3df..38f5fbc 100644 --- a/static/galene.js +++ b/static/galene.js @@ -435,7 +435,7 @@ function gotDownStream(c) { console.error(e); displayError(e); }; - c.ondowntrack = function(track, transceiver, label, stream) { + c.ondowntrack = function(track, transceiver, stream) { setMedia(c); }; c.onnegotiationcompleted = function() {