We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3934fba commit b74bc01Copy full SHA for b74bc01
1 file changed
src/core/EventBus.js
@@ -123,6 +123,13 @@ function EventBus() {
123
payload.mediaType = filters.mediaType;
124
}
125
126
+ if (type === 'streamTeardownComplete') {
127
+ console.log('streamTeardownComplete', payload);
128
+ console.log('handlers:');
129
+ for (let h of handlers[type]) {
130
+ console.log('handler', h);
131
+ }
132
133
const handlersToRemove = [];
134
handlers[type]
135
.filter((handler) => {
@@ -142,6 +149,9 @@ function EventBus() {
142
149
return true;
143
150
})
144
151
.forEach((handler) => {
152
153
+ console.log('triggering handler', handler);
154
145
155
handler && handler.callback.call(handler.scope, payload);
146
156
if (handler.executeOnlyOnce) {
147
157
handlersToRemove.push(handler);
0 commit comments