Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Nov 18, 2024
1 parent e6c4141 commit 1695218
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

### Pending Release

### v2.13.1

- :bug: UDP Ports health check on alternate service

### v2.13.0

- :tada: Perform JSON Diff before writing config file if a diff has been detected.
Expand Down
7 changes: 4 additions & 3 deletions cloudformation/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const PORTS = [{
},{
Name: 'SRT',
Port: 8890,
Protocol: 'tcp',
Protocol: 'udp',
Description: 'SRT Protocol',
Certificate: false,
Enabled: true
Expand Down Expand Up @@ -369,8 +369,9 @@ for (const p of PORTS) {

HealthCheckEnabled: true,
HealthCheckIntervalSeconds: 30,
HealthCheckPort: p.Port,
HealthCheckProtocol: p.Protocol.toUpperCase(),
// UDP Health checks fallback to TCP
HealthCheckPort: p.Protocol.toUpperCase() === 'UDP' ? '9997' : p.Port,
HealthCheckProtocol: p.Protocol.toUpperCase() === 'UDP' ? 'TCP' : p.Protocol.toUpperCase(),
HealthCheckTimeoutSeconds: 10,
HealthyThresholdCount: 5
}
Expand Down
2 changes: 1 addition & 1 deletion start
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# Add MediaConfig File
#

set -x
set -euo pipefail

echo "Contents:"
ls /opt/mediamtx/

if [[ ${FORCE_NEW_CONFIG} == "true" ]]; then
echo "Force New Config = true - deleting mediamtx.yml"
rm /opt/mediamtx/mediamtx.yml || true
fi

Expand Down

0 comments on commit 1695218

Please sign in to comment.