We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0250501 commit 94aa4a6Copy full SHA for 94aa4a6
src/ios/MLPCastUtilities.m
@@ -118,6 +118,9 @@ + (GCKMediaTextTrackStyle *)buildTextTrackStyle:(NSDictionary *)data {
118
}
119
120
+(GCKMediaMetadata*)buildMediaMetadata:(NSDictionary*)data {
121
+ if ([data isEqual:[NSNull null]] || data == nil) {
122
+ return nil;
123
+ }
124
GCKMediaMetadata* mediaMetaData = [[GCKMediaMetadata alloc] initWithMetadataType:GCKMediaMetadataTypeGeneric];
125
126
if (data[@"metadataType"]) {
0 commit comments