Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfujita committed Nov 13, 2020
1 parent 10d31b7 commit 6cd7ac1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ios/Video/RCTVideo.m
Original file line number Diff line number Diff line change
Expand Up @@ -1842,8 +1842,9 @@ - (BOOL)loadingRequestHandling:(AVAssetResourceLoadingRequest *)loadingRequest {
[self finishLoadingWithError:licenseError];
self->_requestingCertificateErrored = YES;
} else if (data != nil) {
NSData *decodedData = [[NSData alloc] initWithBase64EncodedData:data options:0];
[dataRequest respondWithData:decodedData];
// NSData *decodedData = [[NSData alloc] initWithBase64EncodedData:data options:0];
// [dataRequest respondWithData:decodedData];
[dataRequest respondWithData:data];
[loadingRequest finishLoading];
} else {
NSError *licenseError = [NSError errorWithDomain: @"RCTVideo"
Expand Down

0 comments on commit 6cd7ac1

Please sign in to comment.