Fix wrongly displayed SRT URL (datahrei/restreamer#635)

This commit is contained in:
Ingo Oppermann 2023-12-04 12:30:52 +01:00
parent dae04e7882
commit f4c9fbe61a
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -419,7 +419,7 @@ const getSRTAddress = (host, name, token, passphrase, publish) => {
host +
'?mode=caller&transtype=live&streamid=' +
name +
',mode:' +
'.stream,mode:' +
(publish ? 'publish' : 'request') +
(token.length !== 0 ? ',token:' + encodeURIComponent(token) : '');
@ -654,7 +654,7 @@ function AdvancedSettings(props) {
? 'analyzeduration_http'
: protocolClass === 'rtmp'
? 'analyzeduration_rtmp'
: 'analyzeduration'
: 'analyzeduration',
)}
/>
<Typography variant="caption">