Fix setting playback rate to loading voice
This commit is contained in:
parent
18aef3a921
commit
eefeca23a1
@ -294,6 +294,10 @@ class AppMediaPlaybackController {
|
|||||||
// setTimeout(() => {
|
// setTimeout(() => {
|
||||||
const cacheContext = appDownloadManager.getCacheContext(doc);
|
const cacheContext = appDownloadManager.getCacheContext(doc);
|
||||||
media.src = cacheContext.url;
|
media.src = cacheContext.url;
|
||||||
|
|
||||||
|
if(this.playingMedia === media) {
|
||||||
|
media.playbackRate = this.playbackRate;
|
||||||
|
}
|
||||||
// }, doc.supportsStreaming ? 500e3 : 0);
|
// }, doc.supportsStreaming ? 500e3 : 0);
|
||||||
|
|
||||||
const set = this.waitingDocumentsForLoad[doc.id];
|
const set = this.waitingDocumentsForLoad[doc.id];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user