-
Notifications
You must be signed in to change notification settings - Fork 21
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: implement MUXSDKMonitor API and switch MUXSDKStats to use it #218
base: releases/v5.0.0
Are you sure you want to change the base?
feat: implement MUXSDKMonitor API and switch MUXSDKStats to use it #218
Conversation
ae02bd6
to
b72be62
Compare
5356a2f
to
e7c7263
Compare
94c10ea
to
6676c0b
Compare
[player didTriggerManualVideoChange]; | ||
[player dispatchViewEnd]; | ||
|
||
// FIXME: Previous implementation did a nil check |
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.
I think this change is safe, MUXSDKDataEvent
properties default to nil
so skipping a nil check gets the same result.
MUXSDKCustomerViewData *viewData = customerData.customerViewData; | ||
MUXSDKCustomData *customData = customerData.customData; | ||
|
||
[_customerPlayerDataStore setPlayerData:playerData |
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.
Prior implementation didn't check playerData
for nil, kept the same distinction here.
@@ -20,206 +14,19 @@ | |||
|
|||
@implementation MUXSDKStats | |||
|
|||
static MUXSDKDispatcher *_dispatcher; |
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.
This _dispatcher
was unused, so removed it completely.
@@ -1,12 +1,6 @@ | |||
#import "MUXSDKStats.h" | |||
#import "MUXSDKConstants.h" |
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.
The logic in this file has been effectively moved to MUXSDKMonitor.m
, some parts got removed completely as part of the clean-up.
return environmentData; | ||
} | ||
|
||
+ (MUXSDKViewerData *)buildViewerData { |
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.
The logic in buildViewerData
has been extracted out to a separate MUXSDKPlaceholderViewerData
class.
4f2e527
to
3ae162e
Compare
centralize MUXSDKCore parameter passing refactor: move placeholder viewer data retrieval out of MUXSDKMonitor feat: implement rest of the MUXSDKMonitor stubs and clean-up binding manager Clean-up MUXSDKStats declarations refactor: convert MUXSDKStats to use MUXSDKMonitor internally
0377912
to
4dfd253
Compare
Some additional minor clean-up, mostly internal-only renames.