-
Notifications
You must be signed in to change notification settings - Fork 6k
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
feat(MediaSource): client code can get the tag of a MediaSource #5187
Conversation
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
I'm ok with my commits being contributed to this project. |
For completeness: when running tests (on a Windows dev machine) we experienced 28 failed tests both before and after the change. |
That's interesting :) Would you mind giving us a list? No one in our team is using Windows, so probably difficult to fix, but still seems worth knowing why they fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good in general.
@@ -275,6 +275,11 @@ void prepareSource( | |||
*/ | |||
void releasePeriod(MediaPeriod mediaPeriod); | |||
|
|||
/** | |||
* Returns the tag set on media source, or null when none was set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on the media source
/** | ||
* Returns the tag set on media source, or null when none was set. | ||
*/ | ||
Object getTag(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move the method somewhere else to keep the release methods bundled together? For example, above addEventListener or below removeEventListener.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, can you make this a default method which returns null for now? That prevents breaking other existing implementations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nullable is missing here too.
Re. test failing on Windows 10: on branch dev-v2, commit
here are attached the test results (exported as zipped HTML): |
Requested changes have been added. Not sure whether those |
Thanks! Looks good on a code level. I'd also keep the
That's good to see. I suspect they all fail because of some line separator or encoding difference. |
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) |
True, totally agreeing on making it explicit.
Not sure what you mean. If there's some action we should do on this side, just tell us please |
Never mind, I was referring to the ongoing discussion in #5177. |
Closes #5177