Product Introduction
Product Introduction
What is the Watch Page Mini Program SDK
If the features or interface of the Polyv SaaS live streaming mini program watch page do not meet your personalized needs, you can build a unique and professional mini program watch page based on the Polyv Watch Page SDK. This SDK, provided by Polyv, is a mini program SDK that helps developers quickly create professional live streaming viewing applications. It includes common functional modules for live streaming viewing applications, such as the player, chat room, and live co-hosting.
Note that this SDK is a logic layer SDK, providing only the encapsulation of underlying logic, independent of specific frameworks or interfaces.
Comparison with 3.x
- This SDK is a refactored version of the WeChat Watch Mini Program SDK 3.X, internally encapsulating each function into independent modules, making it more convenient for developers to build mini program watch pages.
- Compared to 3.x, the new SDK offers richer features and is closer to the web-based watch page experience, such as viewing condition authorization, multi-user live co-hosting, and interactive features.
Advantages
- The Polyv SaaS live streaming watch page is also developed based on the Watch Page SDK, so the SDK's functionality is complete.
- Developed using modern front-end engineering concepts, providing TypeScript type declaration files.
- Provides a fully functional open-source project (based on WeChat native mini program development), allowing developers to perform secondary development based on this project.
Quick Start
As mentioned earlier, the Watch Page SDK is a logic layer SDK. For integrators, quickly building a feature-rich live streaming watch page based on this SDK can be challenging. Therefore, the Polyv development team has prepared a quick start solution, detailed in the next section—Quick Start.
Demo Download
Player Component and Plugin Description
The Demo provides a default player bridge component for switching between the Polyv live streaming player plugin and the local built-in player component. If your mini program cannot temporarily apply for or use the live streaming player plugin, but you wish to use the WeChat native live-player component or play live streams via the video component, refer to the approach in Player Component and Plugin Description.
This description includes the player component directory structure, the switching method between plugins and local components, and the usage scenarios for forceVideo configuration. When integrating, choose the appropriate solution based on your project's mini program qualifications and playback chain.
