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

test: Add error listener & ec3 test in codec switching integration test #6486

Merged
merged 15 commits into from May 6, 2024

Conversation

tykus160
Copy link
Contributor

@tykus160 tykus160 commented Apr 26, 2024

Adding EC-3 test case for codec switching integration suite, as some platforms, i.e. Tizen 3 do not support Opus

@avelad avelad added the component: tests The issue involves our automated tests (generally; otherwise use a more specific component) label Apr 26, 2024
@avelad avelad added this to the v4.9 milestone Apr 26, 2024
@shaka-bot
Copy link
Collaborator

shaka-bot commented Apr 26, 2024

Incremental code coverage: 100.00%

@tykus160 tykus160 changed the title test: Add error listener in codec switching integration test test: Add error listener & ec3 test in codec switching integration test Apr 26, 2024
Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@avelad, I see you making changes, so I'll let you give the final approval and merge when you're ready.

@avelad
Copy link
Collaborator

avelad commented Apr 29, 2024

@joeyparrish This PR has bugs in Chromecast Ultra (we previously masked the error, in Edge (github actions) and Safari

@tykus160
Copy link
Contributor Author

I know I've been asked to remove a video test due to the size of the segment from the Dolby asset, but it would be good to bring it back or reencode it to lower bitrate.

@avelad
Copy link
Collaborator

avelad commented Apr 30, 2024

I know I've been asked to remove a video test due to the size of the segment from the Dolby asset, but it would be good to bring it back or reencode it to lower bitrate.

Agree, you can do that!

@tykus160
Copy link
Contributor Author

I'm off but I can do it next week, in this PR or in a new one, doesn't matter.

@avelad
Copy link
Collaborator

avelad commented Apr 30, 2024

I'm off but I can do it next week, in this PR or in a new one, doesn't matter.

We wait until next week, there is no rush. Additionally, the error still needs to be solved in Safari and Chromecast Ultra....

@tykus160
Copy link
Contributor Author

tykus160 commented May 1, 2024

Intention of this PR was to reveal some potential issues around codec switching. I think fixes can be done separately as right now I don't even have an idea what's wrong.

@joeyparrish
Copy link
Member

Intention of this PR was to reveal some potential issues around codec switching. I think fixes can be done separately as right now I don't even have an idea what's wrong.

We could make fixes separately, but I don't want to merge a PR that leaves tests failing without a fix in sight.

Now that #6523 is merged, all tests should be green on main. If you merge with main, the unrelated errors on Mac should be gone. Then we can re-run tests on this PR in CI and in our lab and see what remains to fix.

From the previous run, I can see a decoder error on Chromecast Ultra for aac -> opus, so smooth codec-switching may not work correctly on such devices. We may need to detect the model and ban it. I also see a failure on Safari that doesn't make a lot of sense to me on the surface, but I can help debug it.

lib/util/platform.js Outdated Show resolved Hide resolved
@avelad avelad merged commit ab26de4 into shaka-project:main May 6, 2024
29 of 30 checks passed
avelad added a commit that referenced this pull request May 6, 2024
…st (#6486)

Adding EC-3 test case for codec switching integration suite, as some
platforms, i.e. Tizen 3 do not support Opus

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
joeyparrish pushed a commit that referenced this pull request May 7, 2024
…st (#6486)

Adding EC-3 test case for codec switching integration suite, as some
platforms, i.e. Tizen 3 do not support Opus

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
joeyparrish pushed a commit that referenced this pull request May 7, 2024
…st (#6486)

Adding EC-3 test case for codec switching integration suite, as some
platforms, i.e. Tizen 3 do not support Opus

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
@tykus160 tykus160 deleted the wt-test-codec branch May 8, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tests The issue involves our automated tests (generally; otherwise use a more specific component)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants