Giter Site home page Giter Site logo

baidubce / bce-player-ios Goto Github PK

View Code? Open in Web Editor NEW
18.0 9.0 4.0 73.58 MB

百度智能云iOS播放器SDK

Home Page: https://cloud.baidu.com/doc/VideoCreatingSDK/s/aldwi57qz

Ruby 100.00%
baiducloud hdr mediaplayer superresolution videoplayer vr av1 greenscreen h265 ios-video-player

bce-player-ios's Issues

cocoaPods的方式安装不了

Resolving dependencies of Podfile
[!] Unable to find a specification for BaiduBCEPlayerLSS (~> 1.0)

在podfile中输入
pod 'BaiduBCEPlayerLSS', "~> 1.0" 会提示上面的错误,双引号换成单引号还是不行

关于设置header cookie的问题

[cbPlayerController setCustomHttpHeader:[NSString stringWithFormat:@"Retry-After: 120\r\nCookie: %@\r\n",self.playM.com_cookie]];

升级版本后这么设置哪里不对吗?播不了视频了
[bDCloudMediaPlayerController setOptionValue:[NSString stringWithFormat:@"Retry-After: 120\r\nCookie: %@\r\n",self.playM.com_cookie] forKey:@"cookies" ofCategory:BDCloudMediaPlayerOptionCategoryFormat];

下面是log:
Invalid cookie found, no value, path or domain specified
IJKSDLGLView: setupDisplay not ready
IJKSDLGLView: setupDisplay not ready
Invalid cookie found, no value, path or domain specified
Invalid cookie found, no value, path or domain specified
http://sh-download.weiyun.com/ftn_handler/ec3e07d16c448900c40d0e780a60ad5fd050a2f6a528c89c00f8237fab7aa5de9271795ded282d838f465ac569ea2c319ef09ebf715344c70339f1093bd4cee9: Server returned 4XX Client Error, but not one of 40{0,1,3,4}

希望支持下载有METHOD=AES-128加密的M3U8格式,与 HLS 下载任务队列可以自定义

下载前的M3U8格式是:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-KEY:METHOD=AES-128,URI="http://www.***.com/coursevideo-18571.html?key=94bdd4819ceb06382251fc1cd9fac478"
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:17

下载后的 M3U8文件格式是: 同一目录下保存密钥的 key.txt文件
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-KEY:METHOD=AES-128,URI="key.txt"
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:17

pod 'BaiduBCEPlayerFull'报错

pod 'BaiduBCEPlayerFull', '<= 1.6.5'
pod install时报错

[!] 'BaiduBCEPlayerFull' uses the unencrypted http protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts in there. Please reach out to the library author to notify them of this security issue.

建议拆分resume和uncompletedTask接口

/**
 *  @brief 继续上次未完成的下载任务。
 *  @return 返回下载任务的数组。
 */
- (NSArray<CyberDownloadTask*>*)resumeUncompletedTasks;

这个接口设计不符合单一原则啊,继续任务和获取任务做在一起,你让我想获取列表但是不想继续的人怎么办啊?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.