Skip to content
Snippets Groups Projects
Commit 721bcf93 authored by Richard Alam's avatar Richard Alam
Browse files

- fix parsing of video stream name

parent 30337244
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ package org.bigbluebutton.modules.videoconf.views
protected function getVideoProfile(stream:String):VideoProfile {
trace("Parsing stream name [" + stream + "]");
var pattern:RegExp = new RegExp("([A-Za-z0-9_]+)-([A-Za-z0-9]+)-\\d+", "");
var pattern:RegExp = new RegExp("([A-Za-z0-9]+)-([A-Za-z0-9_]+)-\\d+", "");
if (pattern.test(stream)) {
trace("The stream name is well formatted");
trace("Video profile resolution is [" + pattern.exec(stream)[1] + "]");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment