mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
guh
This commit is contained in:
@@ -73,8 +73,8 @@ function forcePublishStreamMode(rawUrl) {
|
||||
return value;
|
||||
}
|
||||
|
||||
if (/,m=read\b/.test(value)) {
|
||||
return value.replace(/,m=read\b/, ',m=publish');
|
||||
if (/,m=[a-zA-Z]+\b/.test(value)) {
|
||||
return value.replace(/,m=[a-zA-Z]+\b/, ',m=publish');
|
||||
}
|
||||
|
||||
// If streamid exists but mode is omitted, default it to publish.
|
||||
|
||||
Reference in New Issue
Block a user