Latest 2.5.3
Homepage https://github.com/polyv/polyv-ios-vod-sdk
License MIT MIT License

Copyright (c) 2017

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Platforms ios 8.0, requires ARC
Dependencies PolyvIJKPlayer, PolyvAliHttpDNS, PLVMarquee, PLVTimer, PLVNetworkDiagnosisTool, SSZipArchive, WCDB
Authors ,

POLYV iOS VOD SDK Demo

本项目详细演示了如何使用保利威视 iOS 点播 SDK。项目基于网校当前版本进行开发,实现了指定网校的视频播放与下载,同时可配置自己的保利威视点播账号,使用点播 SDK 播放与下载账号下的点播视频。

试用

点击安装,或扫描下方二维码使用 Safari 安装。

ABN_PolyvVodSDK

安装密码:polyv

试用的内测 App 使用企业签名,若运行中遇到问题,可参见 在 iOS 9 及以上版本中运行企业版应用

快速开始

  1. git clone https://github.com/polyv/polyv-ios-vod-sdk.git
  2. pod install

文档

详细文档请参见 本项目 wiki

POLYV iOS VOD SDK 各版本接口文档,可参见 各版本 API 文档

更新日志

POLYV iOS VOD SDK 更新日志可参见 CHANGELOG

ATS

POLYV iOS VOD SDK 所有请求都使用 HTTPS 协议,已全面支持 ATS(App Transport Security)。

iPhone X 适配

播放器及其 Demo 所有页面已针对 iPhone X 进行适配,若有在 iPhone X 显示不正常的 UI,欢迎 issue 本项目。

系统要求

本项目及其点播 SDK 最低支持兼容系统版本为 iOS 8。

部分逻辑说明

  • 视频下载记录会记录到本地数据库,但仅在视频开始下载后才入库。
  • 视频进度跳转,若跳转的不是关键帧则会往回跳到附近的关键帧。
  • 记忆播放位置:
    • 记忆播放位置功能需在设置 video 对象之前设置。
    • 记忆播放位置开启后,在播放中途退出(包括中途出错退出)都会记录播放位置,下次进入播放器,会从该播放位置继续播放。
    • 播放结束后,会清除本视频记录的播放位置。
  • 队列下载
    • 目前实现的队列只支持单个视频队列下载,加入视频的队列只有第一个视频在下载,第一个视频下载后,下载后面的视频,以此类推。
    • 队列的顺序由加入队列的顺序决定。

协议

本项目使用 Apache-2.0 许可证,详情见 LICENSE 文件。

Latest podspec

{
    "name": "ABN_PolyvVodSDK",
    "version": "2.5.3",
    "summary": "u4fddu5229u5a01u89c6u70b9u64ad iOS SDK (u7070u5ea6u53d1u5e03u7248u672c)",
    "description": "ABN_PolyvVodSDKnu4fddu5229u5a01u89c6u70b9u64ad iOS SDKu3002nu96c6u6210u70b9u64adu4e1au52a1u64adu653eu3001u4e0bu8f7du529fu80fdu3002",
    "homepage": "https://github.com/polyv/polyv-ios-vod-sdk",
    "screenshots": [
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.51.40.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.52.02.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.52.34.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.54.12.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.54.42.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.54.48.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.56.50.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.57.11.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.57.44.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.57.57.png",
        "http://repo.polyv.net/ios/documents/vodsdk/screenshots/Simulator_Screen_Shot_-_iPhone_SE_-_2018-03-19_at_10.59.14.png"
    ],
    "license": {
        "type": "MIT",
        "text": "MIT LicensennCopyright (c) 2017nnPermission is hereby granted, free of charge, to any person obtaining a copynof this software and associated documentation files (the "Software"), to dealnin the Software without restriction, including without limitation the rightsnto use, copy, modify, merge, publish, distribute, sublicense, and/or sellncopies of the Software, and to permit persons to whom the Software isnfurnished to do so, subject to the following conditions:nnThe above copyright notice and this permission notice shall be included in allncopies or substantial portions of the Software.nnTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORnIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEnAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERnLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THEnSOFTWARE.n"
    },
    "authors": {
        "ftao": "[email protected]",
        "bqlin": "[email protected]"
    },
    "source": {
        "http": "http://repo.polyv.net/ios/download/vodsdk/ABN_PLVVodSDK_2.5.3+181130.zip"
    },
    "vendored_frameworks": "PLVVodSDK.framework",
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "dependencies": {
        "PolyvIJKPlayer": [
            "~> 0.3.0"
        ],
        "PolyvAliHttpDNS": [
            "~> 1.6.7"
        ],
        "PLVMarquee": [
            "~> 0.0.2"
        ],
        "PLVTimer": [
            "~> 0.0.2"
        ],
        "PLVNetworkDiagnosisTool": [
            "~> 0.0.1"
        ],
        "SSZipArchive": [
            "~> 2.1.1"
        ],
        "WCDB": [
            "~> 1.0.6"
        ]
    }
}

Pin It on Pinterest

Share This