-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.3] Closed Captions broken #11518
Comments
updateafter adding this, the closed captions work again, but having the same instance handle all these events goes somewhat against the principle of load balancing, and I don't know how to distribute it probably^^ ...especially so far it would handle all PadUpdateSysMsg events, not just the ones from closed captions, which could become a huge load. diff --git a/bigbluebutton-html5/imports/startup/server/redis.js b/bigbluebutton-html5/imports/startup/server/redis.js
index d78b9c4fe6..a3f33e087c 100755
--- a/bigbluebutton-html5/imports/startup/server/redis.js
+++ b/bigbluebutton-html5/imports/startup/server/redis.js
@@ -286,6 +286,13 @@ class RedisPubSub {
parsedMessage,
});
}
+ } else if(eventName === 'PadUpdateSysMsg' && this.instanceId == 1) {
+ this.meetingsQueues[NO_MEETING_ID].add({
+ pattern,
+ channel,
+ eventName,
+ parsedMessage,
+ });
}
// I ignore
}
|
Yeah, that's a good catch. I believe the whole communication between bigbluebutton and etherpad will have to move from meteor to akka-apps because I think it's the one who can map meetings and instances. |
Thanks for reporting, and reporting thoroughly! 🥇 Yeah, looks to me like it's the lack of We'll give it a deeper look next week |
Describe the bug
Typed characters in the closed caption pad don't appear anymore since sometime between
2.3-alpha5
and2.3-alpha7
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The typed characters should appear on top of the presentation
Actual behavior
nothing appears
Debugging
PadUpdateSysMsg
events appear in the redis channelfrom-etherpad-redis-channel
RedisPubSub::handleMessage()
(imports/startup/server/redis.js
) at all backend instances, example:RedisPubSub.on('PadUpdateSysMsg', handler)
inmod/html5/src/imports/api/captions/server/eventHandlers.js
never gets called-> it seems like the event gets thrown away somehow inside
RedisPubSub::handleMessage()
, maybe because it doesn't contain any instanceId?Most likely this was introcued with @antobinary (et al.?^^) amazing recent work in Split Meteor roles backend-frontend revisit #11317
The text was updated successfully, but these errors were encountered: