return cached asset
This commit is contained in:
parent
b0c0ac10f4
commit
f0a1bebc04
@ -500,7 +500,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…
x
Reference in New Issue
Block a user