Marquee Feature Integration
Updated: 2023-01-09 14:34:57
1. Document Description
Polyv SaaS backend and APIs support marquee settings. This document describes how to return marquee information through user interfaces in different authorization scenarios.
2. Marquee Feature Settings
- For a description of the marquee feature, please refer to Live Streaming Anti-Screen Recording Marquee
- For API operations on replays, please refer to Query Channel Anti-Screen Recording Information and Set Channel Anti-Screen Recording Information (The following request operation is executed only when modelType is diyurl, in which case content is the request URL)
3. Custom Authorization for Specifying Marquee Information
Usage
- If you need to customize marquee information (marquee text, font size, color, scrolling method, etc.) on your server, you must first call the Set Channel Anti-Screen Recording Information API to change modelType to diyurl, where content is the request URL. Alternatively, you can configure this in the SaaS backend.
- For custom authorization integration, please refer to the document Custom Authorization
- In custom authorization, you need to return the viewer's primary key as the marqueeName parameter to Polyv. Polyv will include this value (variable name code) when requesting marquee information from your server. Refer to the document URL Custom Marquee
- In [URL Custom Marquee], you can query viewer information based on the viewer's primary key and return the marquee information
4. External Authorization for Specifying Marquee Information
Usage
- If you need to customize marquee information (marquee text, font size, color, scrolling method, etc.) on your server, you must first call the Set Channel Anti-Screen Recording Information API to change modelType to diyurl, where content is the request URL. Alternatively, you can configure this in the SaaS backend.
- For external authorization integration, please refer to the document External Authorization
- In external authorization, you need to return the viewer's primary key as the marqueeName parameter to Polyv. Polyv will include this value (variable name code) when requesting marquee information from your server. Refer to the document URL Custom Marquee
- In [URL Custom Marquee], you can query viewer information based on the viewer's primary key and return the marquee information
5. Independent Authorization for Specifying Marquee Information
Not supported yet
