百度智能云

All Product Document

          Multimedia Cloud Processing

          Introduction

          Baidu AI Cloud Player iOS SDK(“Player IOS SDK”) is the IOS platform video player software development kit (SDK) introduced by Baidu AI Cloud to provide simple and convenient development interface to the developers and help them realize media play feature in the devices of iPad/iPhone/iPod and Apple TV. The inserted T5 play core independently developed by Baidu provides simple and convenient media application development ability, which has the following feature:

          • Local all-media format support

            It breaks the limitation of iOS platform for video format, and supports all mainstream media format currently (mp4, avi, wmv, flv, mkv, mov and rmvb, etc.). 
          • Support wide streaming video formats

            Support the files of multiple formats for progressive and stream-like playback: HLS, RTMP, HTTP and Pseudo-Streaming. 
          • Powerful Performance

            Resource, low occupancy rate of CPU/internal storage and fast video loading speed.

          • Low threshold and high flexibility to realize play feature

            Provide the calling interface greatly similar to the system player MPMoviePlayerController, which is convenient for the developers to rapidly develop media player applications. Meanwhile, the development sample is provided. 
          • It makes up for the weakness of the system player in formats supported by media and has high compatibility, stability and fast response performance.
          • Optimize the live scenarios

            Support special [Live Express Version SDK](https://bce.baidu.com/doc/Downloadcenter/player.html#.E6.92.AD.E6.94.BE.E5.99.A8iOS.20SDK) aiming at live scenarios,Support RTMP, HTTP+FLV, HLS protocol and H264 and AAC code. 
          • Extreme low access costs

            Support [Cocoapods](https://github.com/baidubce/bce-player-ios) access method. 

          The SDK can be operated in Version IOS 7.0 and above.

          Download the complete package of the iOS player SDK Baidu-T5Player-SDK-iOS-xxxzip to the local disk from Download address, and the directory structure after decompression is as follows:

          Baidu-T5Player-SDK-iOS-x.x.x
                 │ 
                 ├── include 
                 │   ├── CyberPlayer                             // libCyberPlayerController.a,libCyberPlayerUtils.aCorresponding header file 
                 │   │   └── CyberPlayerController.h 
                 │   ├── CyberDownloader                         // libCyberDownloader.a Corresponding header file 
                 │   │   ├── CyberMediaItem.h 
                 │   │   ├── CyberDownloader.h 
                 │   │   └── CyberDownloadTask.h 
                 │   ├── openssl                                 // libcrypto.a、libssl Corresponding header file 
                 │       └── ... 
                 ├── lib 
                 │    ├── libCyberPlayerController.a 
                 │    ├── libCyberDownloader.a 
                 │    ├── libcrypto.a 
                 │    ├── libssl.a 
                 | 
                 ├── VideoPlayer                                 // The VidepPlayer project used for demonstrating the usage of player API 
          • The include folder is used for storing API header files of player ADK.
          • The lib folder is used for storing static library files.

          The purpose of each static library is shown in the table below:

          Table 1 static library

          File name Meaning
          libCyberPlayerController.a The corresponding static library of CyberPlayerController.h
          libCyberDownloader.a The corresponding static library of HLS offline download
          libcrypto.a libssl.a opensslEncrypt and decrypt the static library

          Note

          • armv7 and armv7s instruction sets are compatible, and the armv7 programs can be operated in the armv7s devices.

             See the figure below for the default instruction set of Apple mobile devices at present: Image from iossupportmatrix.com

          • VideoPlayer folder: mainly stores 1 IOS sample project to help the users understand how to use the SDK. Display how to use CyberPlayerController to play video.

          #Reading object

          This document is intended for all developers, testers, partners and other interested users using SDK, and requires the readers to have a certain iOS programming experience.

          Previous
          Interface Description
          Next
          iOS-Player-SDK-Developer Guide