2016年5月2日

iOS AVPlayer 学习

摘要: 1 .使用环境: 在实际开发过程中 有需要展示流媒体的模块 ,需求非常简单 :播放 和 暂停 ,其实这个时候有很多选择 ,可以选择 MPMoviePlayerController(MediaPlayer.framework), AVAudioPlayer(AVFunction.framework) 阅读全文

posted @ 2016-05-02 21:14 ACM_Someone like you 阅读(2598) 评论(0) 推荐(0) 编辑

iOS CMTimeMake 和 CMTimeMakeWithSeconds 学习

摘要: CMTime是专门用于标识电影时间的结构体,通常用如下两个函数来创建CMTime (1)CMTimeMake value = [slider value]; timescale = self.player.currentItem.asset.duration.timescale; (2) CMTim 阅读全文

posted @ 2016-05-02 15:07 ACM_Someone like you 阅读(4487) 评论(3) 推荐(1) 编辑

导航