Skip to content

It is an intermediate plug-in for data format conversion.

License

Notifications You must be signed in to change notification settings

linkplayapp/LPMDPKitiOS

Repository files navigation

LPMDPKitiOS

English | 中文

LPMDPKit (LinkPlay Media Data Process Kit)

It is an intermediate plug-in for data format conversion, because the data format of the device SDK LPMusicKitiOSinterface interaction is LinkPlay's custom XML. The XML level is very complicated. If users try to parse and splice XML, it will be very troublesome and later Upgrading and maintaining XML is not user friendly. Therefore, a set of standard data format models is defined and this plug-in is developed. After you obtain XML from the device SDK LPMusicKitiOSinterface, call the corresponding interface provided by the middle-tier plug-in to get the standard model data .

At the same time, the audio sources provided by LinkPlay, such as: local music, TuneIn. The data format returned by their API interface is based on the data encapsulation of the standard model, when you need to play music:

  • Call the middle layer plug-in to convert to the XML required by the device SDK LPMusicKitiOS,
  • Pass this XML to the interface of the device SDK LPMusicKitiOS. You can complete the playback function.

Therefore, you don't need to care about the custom XML format of LinkPlay. You only need to call the parsing and splicing methods provided by the middle-layer plug-in to convert the XML to the basic model.

Documentation

You can find documentation on the website.

How To Get Started

SDK Demo

1. SDK demo with CocoaPods

2. SDK demo

Requirements

  • iOS >= 10.0

Installation

The SDK is used in conjunction with the audio source or device SDK, there is no need to download and import separately. When installing the audio source or device SDK, you will be asked to import the SDK

Author

LinkPlay, ios_team@linkplay.com

About

It is an intermediate plug-in for data format conversion.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published