Mod uses placeholders for ingress setups #560

This commit is contained in:
Jan Stabenow 2023-05-10 18:33:15 +02:00
parent 3d9d663e35
commit 93316b938b
No known key found for this signature in database
GPG Key ID: 9C22DD65A9AAF133
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Restreamer-UI
## v1.8.0 > vx.x.x
- Mod uses placeholders for ingress setups ([#560](https://github.com/datarhei/restreamer-ui/issues/560))
## v1.7.0 > v1.8.0
- Add Add stream key field and protocol detection to RTMP publication service

View File

@ -450,11 +450,11 @@ const getLocalHLS = (config, name) => {
};
const getLocalRTMP = (config) => {
return getRTMPAddress(config.rtmp.local, config.rtmp.app, config.rtmp.name, config.rtmp.token, false);
return '{rtmp,name=' + config.rtmp.name + '.stream}';
};
const getLocalSRT = (config) => {
return getSRTAddress(config.srt.local, config.srt.name, config.srt.token, config.srt.passphrase, false);
return '{srt,name=' + config.srt.name + '.stream,mode=request}';
};
const isValidURL = (address) => {