【发布时间】:2021-11-29 05:42:06
【问题描述】:
我正在使用一项名为 mux 的服务,它获取视频的 url 链接并为您进行转码和解码。它需要一个视频链接。但是,如何在 firebase flutter 中获取此链接?
当前 这就是我正在做的事情。这会导致视频只显示第一帧。
await firebase_storage.FirebaseStorage.instance
.ref().child('Users/$currentSignedInEmail/Video/${titleController.text}')
.putFile(compressedVersion).catchError((error){
});
//TODO: need to fix this does not load properly
_muxClient.storeVideo(videoUrl: await firebase_storage.FirebaseStorage.instance
.ref().child('Users/$currentSignedInEmail/Video/${titleController.text}').getDownloadURL());
【问题讨论】:
标签: flutter video firebase-storage mux