Skip to content

Conversation

@daytime-em
Copy link
Collaborator

No description provided.

@daytime-em daytime-em requested a review from a team as a code owner December 13, 2024 20:39
}

- (void)didTriggerManualVideoChange {
// TODO: Should we deprecate? we no longer need this method. videoChange can happen whenever it's needed now, not just when AVPlayerItem changes
Copy link
Contributor

Choose a reason for hiding this comment

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

Strong +1 to deprecate

Copy link
Contributor

@andrewjl-mux andrewjl-mux Dec 13, 2024

Choose a reason for hiding this comment

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

If keeping this functionality around makes sense we could also expose a better named API with the same functionality while deprecating this one. (And we'd drop the deprecated method in the next major version bump.)

@daytime-em daytime-em changed the base branch from master to releases/v4.3.0 December 13, 2024 21:57
}

[self.playDispatchDelegate videoChangedForPlayer:_name];
// TODO: test that we have all the metadata we need on the subsequent view. On android we needed to catch up with the current state
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this refer to external stuff like MUXSDKCustomerData or something else?

Copy link
Collaborator Author

@daytime-em daytime-em Jan 6, 2025

Choose a reason for hiding this comment

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

The customer data, and also more general things like the private stuff in the player binding

I saw some odd stuff with playhead time during the subsequent views after changing, so I think there might still be something to clear. It could be here or in the player binding (edit: oops, here or in the stores I mean), I'm not really sure

*/
+ (void)videoChangeForPlayer:(nonnull NSString *)name
withCustomerData:(nullable MUXSDKCustomerData *)customerData;
withCustomerData:(nonnull MUXSDKCustomerData *)customerData;
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a breaking change and requires a major version bump. Particularly for Swift callers.

I'm not sure if it's absolutely required too implement the required functionality in this PR, though. Based on everything else here I don't feel like it is?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point. I don't need to make this nullable.

Copy link
Contributor

@andrewjl-mux andrewjl-mux left a comment

Choose a reason for hiding this comment

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

Latest SDK changes look good overall!

If we absolutely need the API break for videoChangeForPlayer: withCustomerData: we need to take a major version bump to release this.

Base automatically changed from releases/v4.3.0 to master January 15, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants