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