recording: work around invalid locale in caption events (#19682)
This is a workaround for #19178 - but it does not fix the issue. The caption recording events with invalid empty `<locale/>` are simply dropped with a warning message, to allow the recording and any valid caption streams present to be processed. Co-authored-by: Calvin Walton <calvin.walton@blindsidenetworks.com>
This commit is contained in:
parent
aacf4ed263
commit
23ea53e452
@ -383,6 +383,11 @@ def parse_events(directory="."):
|
||||
have_record_events = True
|
||||
elif name == "EditCaptionHistoryEvent":
|
||||
parse_caption_edit(event, element)
|
||||
if event["locale"] is None:
|
||||
logger.warn(
|
||||
"Skipping invalid caption event with unset locale. See https://github.com/bigbluebutton/bigbluebutton/issues/19178 for details"
|
||||
)
|
||||
continue
|
||||
else:
|
||||
logger.debug("Unhandled event: %s", name)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user