Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.5.2 #230

Merged
merged 3 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Nothing yet

## [1.5.2] - 2024-11-05

### Fixed

- Segment size bug for ECCP encryption (introduced in v1.5.1)
- `--timeout` parameter not working. Changed to `--timeoutS`

## [1.5.1] - 2024-11-01

### Added
Expand Down Expand Up @@ -270,7 +277,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- features and URLs listed at livesim2 root page
- configurable generated stpp subtitles with timing info

[Unreleased]: https://github.com/Dash-Industry-Forum/livesim2/compare/v1.5.1...HEAD
[Unreleased]: https://github.com/Dash-Industry-Forum/livesim2/compare/v1.5.2...HEAD
[1.5.2]: https://github.com/Dash-Industry-Forum/livesim2/compare/v1.5.1...v1.5.2
[1.5.1]: https://github.com/Dash-Industry-Forum/livesim2/compare/v1.5.0...v1.5.1
[1.5.0]: https://github.com/Dash-Industry-Forum/livesim2/compare/v1.4.1...v1.5.0
[1.4.1]: https://github.com/Dash-Industry-Forum/livesim2/compare/v1.4.0...v1.4.1
Expand Down
2 changes: 1 addition & 1 deletion cmd/livesim2/app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func LoadConfig(args []string, cwd string) (*ServerConfig, error) {
f.String("repdataroot", k.String("repdataroot"), `Representation metadata root directory. "+" copies vodroot value. "-" disables usage.`)
f.Bool("writerepdata", k.Bool("writerepdata"), "Write representation metadata if not present")
f.String("whitelistblocks", k.String("whitelistblocks"), "comma-separated list of CIDR blocks that are not rate limited")
f.Int("timeout", k.Int("timeoutS"), "timeout for all requests (seconds)")
f.Int("timeoutS", k.Int("timeouts"), "timeout for all requests (seconds)")
f.Int("maxrequests", k.Int("maxrequests"), "max nr of request per IP address per 24 hours")
f.String("reqlimitlog", k.String("reqlimitlog"), "path to request limit log file (only written if maxrequests > 0)")
f.Int("reqlimitint", k.Int("reqlimitint"), "interval for request limit i seconds (only used if maxrequests > 0)")
Expand Down
1 change: 1 addition & 0 deletions cmd/livesim2/app/livesegment.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func genLiveSegment(vodFS fs.FS, a *asset, cfg *ResponseConfig, segmentPart stri
tfdtSizeDiff := int32(newTfdtSize) - int32(oldTfdtSize)
if tfdtSizeDiff != 0 {
traf.Trun.DataOffset += tfdtSizeDiff
frag.Mdat.StartPos += uint64(tfdtSizeDiff)
}
if traf.Saio != nil {
if saioAfterTfdt(traf) {
Expand Down
4 changes: 2 additions & 2 deletions internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
)

var (
commitVersion string = "v1.5.1" // Should be updated during build
commitDate string = "1730475277" // commitDate in Epoch seconds (can be filled/updated in during build)
commitVersion string = "v1.5.2" // Should be updated during build
commitDate string = "1730825548" // commitDate in Epoch seconds (can be filled/updated in during build)
)

// GetVersion - get version, commitHash and commitDate depending on what is inserted
Expand Down
Loading