Merge pull request #1298 from relivecc/ios-cached-asset
return cached asset
This commit is contained in:
commit
2c391f5807
@ -516,7 +516,7 @@ static int const RCTVideoUnset = -1;
|
|||||||
if (cachedAsset) {
|
if (cachedAsset) {
|
||||||
DebugLog(@"Playing back uri '%@' from cache", uri);
|
DebugLog(@"Playing back uri '%@' from cache", uri);
|
||||||
// See note in playerItemForSource about not being able to support text tracks & caching
|
// See note in playerItemForSource about not being able to support text tracks & caching
|
||||||
handler([AVPlayerItem playerItemWithAsset:asset]);
|
handler([AVPlayerItem playerItemWithAsset:cachedAsset]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user