百度智能云

All Product Document

          Multimedia Cloud Processing

          Android-Advanced Player-SDK-Introduction

          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 Android programming experience.

          Introduction

          Baidu AI Cloud Player Android SDK(“SDK”) is the Android 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 Android mobile devices. SDK provides simple and convenient media application development capacity.

          • Local all-media format support Breaking the limit of the Android platform on video formats, it supports all mainstream media formats at present (mp4, avi, wmv, flv, mkv, mov, 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

            Low CPU/memory occupancy rate, fast video loading speed. 
          • Content acceleration

            Support quic and pcdn, and accelerate the content download for VOD of long video, VOD and live broadcast of hot short video as well as the download scenario of large files.

          • Media file cache prefetch

            Support to preload the media files, and establish connection in advance before the media files are played, so as to play faster. Support media stream caching while playing, and the traffic is saved during repeated play.

          • Low threshold and high flexibility to realize play feature

            Provide the calling interface greatly similar to the system player MediaPlayer class, which is easy for the developer to rapidly develop the media play application; provide the interface greatly similar to the system play control VideoView (this part is provided as the source code form, see BDCloudVideoView in demo for details); provide development examples simultaneously. 

          Feature List

          • Highly similar with MediaPlayer interface
          • Provide BDCloudVideoView controls, and highly consistent with VideoViewinterface (open source)
          • Full feature version supports all-media formats
          • Support home page rapid start
          • Support frame-chasing playback
          • Support IPV6
          • Support multi-instance play
          • Support multiple playback of a single instance
          • Support hardware decoding
          • Support network speed detection
          • Support continuingly-playing
          • Support multiple picture zoom modes
          • Support backend playback
          • Support screenshots when playing
          • Support setting buffering zone size
          • Support decoding method settings
          • Support to play in mute
          • Support precise seek
          • Support to pre-fetch the media files
          • Support pcdn content acceleration
          • Supports for quic network protocol
          • Support to set the Header of HTTP request
          • Support to set the UserAgent of HTTP request
          • Support APM
          • Support the update and callback of RTMP or HTTP-FLV LVB real-time metadata information
          • Support seek thumbnail preview
          • Support for saving while playing of HLS and MP4 protocol
          • It can be recorded to local MP4 files while playing
          Previous
          Quick Advancement of Advanced Player
          Next
          Migration_Android