Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Fallback to displaying full user-agent string if a pretty version cannot be determined
Gabe Kangasca050d799023
diff --git a/web/utils/format.ts b/web/utils/format.tsindex 81c4a1938e..8ceea6e01c 100644--- a/web/utils/format.ts+++ b/web/utils/format.ts@@ -55,6 +55,12 @@ export function formatUAstring(uaString: string) {const { major: browserVersion, name } = browser;const { version: osVersion, name: osName } = os;const { model, type } = device;++ // Fallback to just displaying the raw agent string.+ if (!name || !browserVersion || !osName) {+ return uaString;+ }+const deviceString = model || type ? ` (${model || type})` : '';return `${name} ${browserVersion} on ${osName} ${osVersion}${deviceString}`;