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

Update LPMS with the mobile transcoding fix #3003

Merged
merged 3 commits into from May 13, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/core_test.go
Expand Up @@ -78,10 +78,10 @@ func TestTranscode(t *testing.T) {
}

// Check transcode result
if Over1Pct(len(tr.TranscodeData.Segments[0].Data), 218268) { // 144p
if Over1Pct(len(tr.TranscodeData.Segments[0].Data), 273352) { // 144p
t.Error("Unexpected transcode result ", len(tr.TranscodeData.Segments[0].Data))
}
if Over1Pct(len(tr.TranscodeData.Segments[1].Data), 302868) { // 240p
if Over1Pct(len(tr.TranscodeData.Segments[1].Data), 378068) { // 240p
t.Error("Unexpected transcode result ", len(tr.TranscodeData.Segments[1].Data))
}

Expand Down
4 changes: 2 additions & 2 deletions core/transcoder_test.go
Expand Up @@ -32,10 +32,10 @@ func TestLocalTranscoder(t *testing.T) {
if len(res.Segments) != len(videoProfiles) {
t.Error("Mismatched results")
}
if Over1Pct(len(res.Segments[0].Data), 522264) {
if Over1Pct(len(res.Segments[0].Data), 585620) {
t.Errorf("Wrong data %v", len(res.Segments[0].Data))
}
if Over1Pct(len(res.Segments[1].Data), 715528) {
if Over1Pct(len(res.Segments[1].Data), 813100) {
t.Errorf("Wrong data %v", len(res.Segments[1].Data))
}
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -13,7 +13,7 @@ require (
github.com/jaypipes/pcidb v1.0.0
github.com/livepeer/go-tools v0.0.0-20220805063103-76df6beb6506
github.com/livepeer/livepeer-data v0.7.5-0.20231004073737-06f1f383fb18
github.com/livepeer/lpms v0.0.0-20240402101153-ced71c476bd0
github.com/livepeer/lpms v0.0.0-20240513161533-11a5584d691d
github.com/livepeer/m3u8 v0.11.1
github.com/mattn/go-sqlite3 v1.14.18
github.com/olekukonko/tablewriter v0.0.5
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Expand Up @@ -450,6 +450,8 @@ github.com/livepeer/lpms v0.0.0-20240115103113-98566e26c007 h1:0xr1TeIanBDdzI3sE
github.com/livepeer/lpms v0.0.0-20240115103113-98566e26c007/go.mod h1:Hr/JhxxPDipOVd4ZrGYWrdJfpVF8/SEI0nNr2ctAlkM=
github.com/livepeer/lpms v0.0.0-20240402101153-ced71c476bd0 h1:Ch+HRjVJHpNo3kySGJgyDqb+l0KPWehyqZfA1wOafgY=
github.com/livepeer/lpms v0.0.0-20240402101153-ced71c476bd0/go.mod h1:z5ROP1l5OzAKSoqVRLc34MjUdueil6wHSecQYV7llIw=
github.com/livepeer/lpms v0.0.0-20240513161533-11a5584d691d h1:RehRsei/f2mv1RCWD1e3FWRkPl/+eKlHq6syU9c4WJE=
github.com/livepeer/lpms v0.0.0-20240513161533-11a5584d691d/go.mod h1:z5ROP1l5OzAKSoqVRLc34MjUdueil6wHSecQYV7llIw=
github.com/livepeer/m3u8 v0.11.1 h1:VkUJzfNTyjy9mqsgp5JPvouwna8wGZMvd/gAfT5FinU=
github.com/livepeer/m3u8 v0.11.1/go.mod h1:IUqAtwWPAG2CblfQa4SVzTQoDcEMPyfNOaBSxqHMS04=
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4=
Expand Down