如何解决如何在本机反应中获得 EXT-X-PROGRAM-DATE-TIME?
在我的 react-native 应用程序中,我正在使用“react-native-video”播放流媒体视频,并且运行良好。 我可以从流媒体链接中获取 EXT-X-PROGRAM-DATE-TIME 吗?如果可能,如何获取以及如何展示?
这是我当前的代码。
import Video from 'react-native-video';
<Video
ref={ref => {
this.video = ref;
}}
source={{ uri: 'https://dogus.daioncdn.net/tlc/tlc.m3u8?ce=3&app=1aca0aa1-06e3-41ff-a8e5-38d7df475469' }}
// source={require('./11.mp4')}
style={styles.fullScreen}
rate={this.state.rate}
paused={false}
volume={this.state.volume}
muted={this.state.muted}
resizeMode={this.state.resizeMode}
onLoad={this.onLoad}
onProgress={this.onProgress}
onEnd={this.onEnd}
onAudioBecomingNoisy={this.onAudioBecomingNoisy}
onAudioFocusChanged={this.onAudioFocusChanged}
repeat={true}
/>
This is 参考链接。(react-native-video)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。