Polyv Help Center

Help Center

Release Notes

Updated: 2026-07-17 15:16:39

Release Notes

The viewer page SDK follows the Semantic Versioning 2.0.0 specification.

  • WeChat module (weixin): Optimized enterprise WeChat-related logic, providing a method to check whether enterprise WeChat business is currently supported.
  • A series of other minor optimizations.

Build System

  • Updated @polyv/player-module version to rc-20250814
  • Updated @polyv/watch-identify-sdk-core version to rc-20250814
  • Updated @polyv/interactions-receive-sdk version to rc-20250814
  • Updated @polyv/product-sdk version to rc-20250814
  • Updated @polyv/iar related SDK, with the following content:
"@polyv/iar-check-in-sdk": "^2.5.0-rc-20250814.1",
"@polyv/iar-core-sdk": "^2.5.0-rc-20250814.1",
"@polyv/iar-coupon-sdk": "^2.5.0-rc-20250814.1",
"@polyv/iar-lottery-sdk": "^2.5.0-rc-20250814.1",
"@polyv/iar-lucky-lottery-sdk": "^2.5.0-rc-20250814.1",
"@polyv/iar-questionnaire-sdk": "^2.5.0-rc-20250814.1",
"@polyv/interactions-receive-sdk": "^1.17.0-rc-20250814.1",

v2.5.0(2025-07-25)

Bug Fixes

  • Fixed an issue where the build process still packaged some SDKs that already support external link loading.
  • Fixed an issue where the online user count did not support new live streaming sessions.
  • Fixed an issue where, in the Polyv client broadcasting scenario, the three-panel interface could not resume properly after pausing and resuming the live stream.
  • Fixed an issue where, in the mobile on-demand video playback scenario, the player settings did not follow the current multilingual configuration.

Features

  • The SDK exposes the internal base method plvInterval, plvParseJson, plvWait externally.
  • The channel module supports responding to the backend configuration of multi-venue names.
  • The viewing condition module (fail) supports responding to the backend "independent authorization" authorization failure URL configuration.
  • The chat module supports separately controlling the long-press and single-click interactions for the like feature.
  • The chat module supports responding to the backend configuration of chat area notification features.
  • The player module supports using the Fullscreen API for full-screen video on Android devices in normal delayed live streaming scenarios.
  • The task-activity module supports externally exposing abnormal events for obtaining task reward configurations.
  • The invite module and share module support using a custom share URL when the backend custom share URL carries sharing parameters.

Code Refactoring

  • Split the "AI View" feature into an independent @polyv/live-watch-ai-sdk. AI-related features will continue to be iterated in a separate SDK. Stay tuned.

Optimizes

  • Domain module: Adjusted the domain concatenation logic after enabling random three-level domain sharing.
  • Channel module: Optimized the internal state when the current live stream is interrupted.
  • Channel and Chat modules: No longer proactively send system messages when hiding viewer nicknames, and synchronously optimized the desensitization logic for product effect messages.
  • Chat module: Added TypeScript types related to the comment pinning feature.
  • Player module: Optimized the configuration for normal latency smart playback strategy.
  • Player module: Added the PlayerLoadingDetectionUpdate event to optimize monitoring logic for stream switching and resolution changes in normal latency live streaming scenarios.
  • Connect-mic module: Added support for responding to the backend mixed-stream rendering mode.
  • Interact-receive module: Optimized the handling logic for the coupon feature toggle.
  • A series of other minor optimizations.

Build System

  • Update @polyv/utils version to 2.13.0

SDK Update

  • Updated @polyv/watch-identify-sdk-core version to rc-20250703
  • Updated @polyv/live-low-latency-player version to 1.10.0
  • Updated @polyv/chat-sdk version to rc-20250619
  • Updated @polyv/interactions-receive-sdk version to rc-20250724
  • Updated @polyv/product-sdk version to rc-20250724
  • Updated @polyv/iar related SDK, with the following content
"@polyv/iar-core-sdk": "^2.5.0-rc-20250724.1",
"@polyv/iar-coupon-sdk": "^2.5.0-rc-20250724.1",
"@polyv/iar-lottery-sdk": "^2.5.0-rc-20250724.1",
"@polyv/iar-lucky-lottery-sdk": "^2.5.0-rc-20250724.1",
"@polyv/iar-questionnaire-sdk": "^2.5.0-rc-20250724.1",
"@polyv/interactions-receive-sdk": "1.16.0-rc-20250724.1",

SDK Add

  • Added @polyv/live-watch-ai-sdk, version rc-20250724

v2.4.0(2025-06-20)

Warning

  • The order module will be deprecated in a few versions.
  • The newly added product module will gradually deprecate the corresponding product library logic in the interact-receive module.

Bug Fixes

  • Fixed the issue where the internal poller did not dynamically adjust the polling frequency.

Features

  • SDK added Russian Russian language
  • SDK now supports responding to the plvLayout parameter in the current webpage link to force the viewing page to use PC layout or mobile layout
  • SDK added beta logic for specifying a target live session
    • AppConfig added optional parameter targetSessionId
    • Internally processes based on the specified live session and backend configuration, and provides corresponding methods
  • SDK added a new product module (product)
  • Task reward module (task-activity) added retry logic
  • WeChat module (weixin) added related methods to support enterprise WeChat compatible user system logic
  • Player module (player) added liveStreamToken parameter to support token-based stream pulling logic
  • Viewing condition module (auth) now supports "password viewing" condition using graphical CAPTCHA

Optimizes

  • Connect-mic module: Adjusted default values for screen sharing related features
  • Channel module: Adjusted playMode handling logic in test mode to support simultaneous display of countdown and warm-up video
  • Channel module: Added random number parameter to live status polling interface
  • Invite module: Optimized logic for determining whether a user in the invitation list is the current viewer
  • A series of other minor internal optimizations

Build System

SDK Update

  • Updated @polyv/live-low-latency-player version to 1.9.3
  • Updated @polyv/chat-sdk version to rc-20250619
  • Updated @polyv/watch-identify-sdk-core version to rc-20250612
  • Updated @polyv/interactions-receive-sdk version to rc-20250612
  • Updated @polyv/iar related SDK, with the following content:
"@polyv/iar-check-in-sdk": "^2.5.0-rc-20250612.1",
"@polyv/iar-core-sdk": "^2.5.0-rc-20250612.2",
"@polyv/iar-coupon-sdk": "^2.5.0-rc-20250612.1",
"@polyv/iar-lottery-sdk": "^2.5.0-rc-20250612.1",
"@polyv/iar-lucky-lottery-sdk": "^2.5.0-rc-20250612.1",
"@polyv/iar-questionnaire-sdk": "^2.5.0-rc-20250612.1",

SDK Add

  • Added @polyv/product-sdk, version rc-20250612

v2.3.0(2025-05-23)

Features

  • Core module: Added logic to prevent client accounts from accessing the live room.
  • Channel module and Identify module: Added logic to prevent users from accessing the live room.
  • Identify module: Added related methods to respond to backend configuration for collecting user information.
  • Doc module: Added the setKeyboardEnabled method to support controlling whether keyboard events are effective.
  • Interact-receive module: Supports changing the position of the "Complaint Feedback" button based on backend configuration.
  • Interact-receive module: Supports handling product pricing logic based on backend configuration and modifying product external link jump settings.
  • Chat module: Supports responding to backend configuration for chat message layout.
  • Enroll module: Supports automatically hiding the area code configuration when the backend disables SMS verification.
  • Withdraw module: Adjusted the minimum withdrawal amount from 1 to 0.3.
  • Connect-mic module: Supports responding to the assistant's mic switch and synchronously optimizes logic related to pseudo-live mic connections.

Optimizes

  • Marquee module: Added error callback parameter information for the marquee.
  • Player module: Optimized the resume playback logic, supporting cross-platform resume playback.
  • Player module: Added UI-related events for normal delayed playback on mobile devices.
  • Task reward module (task-activity): Supplemented related log reporting.

Build System

Commit Outline

  • @polyv/chat-sdk updated to rc-20250522

  • @polyv/watch-identify-sdk-core updated to rc-20250522

  • @polyv/interactions-receive-sdk updated to rc-20250522

  • @polyv/iar updated interactive version

      "@polyv/iar-check-in-sdk": "^2.5.0-rc-20250522.1",
      "@polyv/iar-core-sdk": "^2.5.0-rc-20250522.1",
      "@polyv/iar-coupon-sdk": "^2.5.0-rc-20250522.1",
      "@polyv/iar-lottery-sdk": "^2.5.0-rc-20250522.1",
      "@polyv/iar-lucky-lottery-sdk": "^2.5.0-rc-20250522.1",
      "@polyv/iar-questionnaire-sdk": "^2.5.0-rc-20250522.1",
    

v2.2.0(2025-04-11)

Bug Fixes

  • Fixed an issue in the task reward module (task-activity) where online duration was calculated incorrectly after switching activities.

Features

  • The interact-receive module adds a V2 lottery module and supports switching between lottery versions.
  • The order module optimizes payment method logic and now supports Alipay payment.
  • The player module adds the PlayerInnerTimeUpdate event to facilitate external retrieval of player video information.
  • The user module adds the getInviteWatchInviteSalesId method to support obtaining the current viewer's invitation watcher ID.

Code Refactoring

  • Identity authentication module (identify) Optimized the coupling logic between platform authorization and channel authorization. Starting from this version, platform authorization is no longer affected by channel configuration, and supports the appConfig.autoAuthParams.ignoreWatchUserSystem parameter to bypass platform authorization.

Optimizes

  • Withdrawal module (withdraw): Added withdrawal-related error code information for external display.

Build System

  • @polyv/watch-identify-sdk-core updated to rc-20250410

  • @polyv/interactions-receive-sdk updated to rc-20250410

  • @polyv/iar updated interactive version

      "@polyv/iar-check-in-sdk": "^2.5.0-rc-20250410.1",
      "@polyv/iar-core-sdk": "^2.5.0-rc-20250410.1",
      "@polyv/iar-coupon-sdk": "^2.5.0-rc-20250410.1",
      "@polyv/iar-lottery-sdk": "^2.5.0-rc-20250410.1",
      "@polyv/iar-lucky-lottery-sdk": "^2.5.0-rc-20250410.1",
      "@polyv/iar-questionnaire-sdk": "^2.5.0-rc-20250410.1",
    

v2.1.0(2025-03-21)

Deprecated

  • Removed methods deprecated in version 2.0 and earlier. For related upgrade documentation, please refer to here.

Features

  • The SDK now supports "Traditional Chinese" internally, along with "Japanese, Korean" and other languages.
  • The interaction module (interact-receive) has added a platform coupon feature.
  • The interaction module (interact-receive) has added a platform lottery feature.
  • The interaction module (interact-receive), playback module (playback), and chat module (chat) now support interactive replay features such as "check-in/quiz/questionnaire".
  • The viewing condition module (auth) now supports invitation-based authorization without requiring review.
  • The viewing condition module (auth) supports obtaining custom authorization login button text based on configuration.
  • The viewing condition module (auth) supports using appConfig.autoAuthParams.forceDirectAuth to force prioritized independent authorization.
  • The player module (player) supports retrieving warm-up image configuration information through the channel module (channel).
  • The playback module (playback) supports responding to backend configuration to show or hide the live stream start time.
  • The task reward module (task-activity) and withdrawal module (withdraw) support merging "red envelope balance/redemption records/withdrawal records" to optimize the withdrawal process.

Optimizes

  • Task reward module (task-activity): Optimized the logic for watch duration tasks and improved the player's duration reporting scheme.
  • Barrage module (barrage): Supports retrieving specific chat information within the interceptor callback method.
  • Channel module (channel): Supports responding to the backend's PC-side copy for guiding follows.
  • Other field and detail optimizations.

Build System

  • @polyv/live-low-latency-player updated to 1.8.0

  • @polyv/interactions-receive-sdk updated to rc-20250320

  • @polyv/watch-identify-sdk-core updated to rc-20250320

  • @polyv/iar Updated interactive version

    "@polyv/iar-check-in-sdk": "2.5.0-rc-20250320.5",
    "@polyv/iar-core-sdk": "2.5.0-rc-20250320.5",
    "@polyv/iar-lottery-sdk": "2.5.0-rc-20250320.5",
    "@polyv/iar-questionnaire-sdk": "2.5.0-rc-20250320.5",
    
  • @polyv/iar New Interactive Features

    "@polyv/iar-coupon-sdk": "2.5.0-rc-20250320.5",
    "@polyv/iar-lucky-lottery-sdk": "2.5.0-rc-20250320.5",
    

v2.0.0(2025-02-28)

Note: All APIs deprecated before version 2.0 will be completely removed in the next release. Please refer to here for the relevant upgrade documentation.

Deprecated

  • Remove deprecated parameters and events from before version 2.0
  • Remove execution code for deprecated method calls from before version 2.0, retaining only console error log output

Bug Fixes

  • Fixed an internal error in the player module when switching from replay to live stream.
  • Fixed an issue where an empty value could be set as the nickname on the watch page.
  • Fixed an issue where, during no-delay live streaming, the watermark was set to a fixed value in the backend, but changing the nickname caused the watermark to change to the nickname.
  • Fixed an issue where previous versions did not properly trigger callbacks for "switching the camera during co-hosting, switching the microphone, and switching the primary speaker on the first screen."

Features

  • Channel module: Supports responsive icon ad configuration
  • Channel module: Supports responsive guide bar configuration
  • Channel module: Supports admin announcement marquee functionality
  • Channel module: Supports responsive cover image template ID from backend
  • Channel module and Chat module: Support chat message effect logic
  • Chat module: Supports multilingual display of emoji text
  • Chat module: Supports pinning multiple comments to the wall
  • Chat module, Interact-receive module, and Playback module: Support card push playback functionality
  • Chat module and Util module: Support logic for hiding audience nicknames
  • Interact-receive module: Supports V2 version of the interaction SDK
  • Interact-receive module and Playback module: Support pushing large product cards during product replay
  • Util module: Supports outputting product explanation page links
  • Playback module: Supports querying corresponding replay videos via playbackVid
  • Channel module and Playback module: Support smart outline (AI View) functionality
  • Player module: Supports playing on-demand vrm12/13 videos
  • Auth module: Adds "Invitation to Watch" authorization
  • Live-booking module: Supports booking the next live stream room
  • Withdraw module: Supports displaying withdrawal failure records
  • Task-activity module: Reward content supports external points
  • Task-activity module: Supports participating in quiz tasks
  • Task-activity module: Supports filtering participant groups by different tags
  • Task-activity module: Supports custom external achievement conditions

Code Refactoring

  • Core module supports multi-instance logic and allows freezing interface polling via the freeze method.
  • Identity authentication module (identify) is now implemented using @polyv/watch-identify-sdk-core, supporting user system-related requirements.
  • The emotion module (emotion) has been split from the chat module (chat), with the UI layer handling the emotion parser setupEmotionParser independently.
  • The subtitle module (subtitle) has been renamed from subtitles to subtitle.

Optimizes

  • Chat module: Added ChatMsgSource.Unknown data source for handling unknown message sources.
  • Chat module and connect-mic module: Internal optimizations.
  • Channel module: Optimized test mode logic.
  • Ask module: Optimized logic for retrieving question history data.
  • Subtitle module: Added multi-language support for original audio subtitles.
  • Withdraw module and WeChat module: Compatible with the new merchant transfer logic of WeChat Pay.
  • A series of other minor optimizations, supporting response to backend configurations.

Build System

System Update

  • Upgrade Node version to v20.10.0, internal infrastructure tools upgraded
  • Support output of ESM modules, support for IE browser

SDK Update

  • Updated @polyv/emotion-sdk version to 3.1.0
  • Updated @polyv/interactions-receive-sdk version to rc-20250227
  • Updated @polyv/chat-sdk version to 0.29.0-rc.1

SDK Add

  • Added @polyv/watch-identify-sdk-core, version rc-20250213

  • Added @polyv/iar related SDK, with the following content

    "@polyv/iar-check-in-sdk": "^2.0.0-rc-20250213.1",
    "@polyv/iar-core-sdk": "^2.0.0-rc-20250213.1",
    "@polyv/iar-lottery-sdk": "^2.0.0-rc-20250213.1",
    "@polyv/iar-questionnaire-sdk": "^2.0.0-rc-20250213.1",
    

v1.11.0(2024-11-15)

Bug Fixes

  • Identity authentication module (identify) Fixed the issue where phone number login was prioritized within WeChat.

Features

  • Tool module (utils) supports retrieving personal center page links
  • Task reward module (task-activity) adds point type
  • Interaction module (interact-receive) adds parseProductDetail method to process product detail data

Build System

  • Update @polyv/interactions-receive-sdk version to rc-20241114

v1.10.1(2024-10-25)

Bug Fixes

  • Fixed the issue where courseware could not be played back normally after enabling the background material library feature.
  • Fixed the issue where ChatEvents.CurrentUserRelogin could not be properly called back due to interface caching.

Features

  • Core module supports external invocation of setWeixinSdk to pass in the WeChat SDK instance
  • Player module supports live streaming player, handling WeChat mini-program redirection logic when clicking pre-roll ads and pause ads
  • Player module supports on-demand player responding to backend switches, handling logic such as web fullscreen and playback feature restrictions
  • Player module supports handling loop playback logic based on backend switches
  • Playback module supports the material library playback list feature, allowing viewing of pure playback live rooms via vid

Optimizes

  • Channel module: Replaced live stream status query interface
  • Minor detail optimizations (clientId)

Build System

  • Update @polyv/emotion-sdk version to 3.0.0
  • Update @polyv/interactions-receive-sdk version to rc-20241024
  • Update @polyv/chat-sdk version to 0.26.0-rc.2

v1.9.2(2024-09-27)

Features

  • Task reward module (task-activity): Added logic for submitting prize claim information
  • Player module (player): Added configuration related to webview picture-in-picture functionality
  • Playback module (playback): Added fast forward and rewind configuration

Optimizes

  • WeChat module (weixin) supports responding to icon changes in background sharing settings
  • Document module (doc) supports responding to primary and secondary screen switching during video playback

Build System

  • Update @polyv/interactions-receive-sdk version to rc-20240926

v1.8.2(2024-09-20)

Bug Fixes

  • Fixed the issue where the SDK could not properly provide the number of online users in the WeChat environment or when a custom param4 parameter was passed.

Build System

  • Update @polyv/interactions-receive-sdk version to rc-20240919

v1.8.0(2024-09-13)

Deprecated

  • Chat module (chat): The old getOnlineUserList method is deprecated. Please use the getOnlineUserListNew method instead.

Bug Fixes

  • Question Module (ask): Fixed the issue where disconnection from the chat room caused question sending to fail and incorrect message status error callbacks.
  • Chat Room Module (chat): Fixed the issue where converting speech links conflicted with XSS injection prevention, preventing normal conversion.

Features

  • Channel module: Added multi-stream track configuration retrieval, while maintaining backward compatibility with the old logic.
  • Channel module: Added online list configuration retrieval.
  • Player module: Supports low-latency dual-stream live streaming.
  • Player module: Supports retrieval of warm-up large image configuration.

Optimizes

  • Core module: Supports updating xAuthToken to synchronously update tokens related to interactive features.
  • Chat module: Optimizes online list-related functionality.
  • A series of minor detail fixes and optimizations.

Build System

  • Update @polyv/interactions-receive-sdk version to rc-20240912
  • Update @polyv/live-low-latency-player to 1.7.0

v1.7.0(2024-08-23)

Deprecated

  • The subtitle module is about to be deprecated SubtitleSetuped event

Features

  • Subtitle module: Supports real-time subtitle processing in multiple translation languages, added SubtitleListForceSync event
  • Player module: Supports changing the subtitle selection component of the playback player via the setPlayerReplaySubtitleSelectConfig method
  • Chat module: Supports filtering red envelope messages when requesting chat history data
  • Playback module: Supports obtaining audio resources through the playback object
  • Task activity module: Supports providing data on reward distribution failure reasons

Code Refactoring

  • Subtitle module: Changed the setup process. Real-time subtitle data will no longer be automatically requested during the setup phase; the initSubtitleList method must be called manually from outside.

Optimizes

  • Subtitle module supports responding to real-time subtitle delays for channel configuration in a zero-latency scenario.

Build System

  • Update @polyv/interactions-receive-sdk version to rc-20240815

v1.6.0(2024-08-02)

Features

  • The domain module adds the processRandomHostname method to handle random domains (only available for SaaS wildcard domain customers).

Optimizes

  • The tracking module (rtas) supports the "order page view event" and removes deprecated events.
  • The subtitle module (subtitle) supports handling latency based on backend configuration in low-latency scenarios.
  • The viewing condition module (auth) supports exposing error information for "repeated authorization of the same viewer" during independent and external authorization.
  • The connect-mic module (connect-mic) supports going on stage normally even when the camera is malfunctioning.

Build System

  • Update @polyv/interactions-receive-sdk version to rc-20240801

v1.5.0(2024-07-12)

Features

  • Added task reward module (task-activity)
  • Added order module (order) to support product order functionality
  • Interaction module (interact-receive) added getAddressManagement and getOrder methods to support product payment-related features
  • Chat module (chat) supports "message/comment" pinning to wall functionality
  • Invite module (invite) supports invite detail download functionality
  • Viewing condition module (auth) supports whitelist viewing membership code usage restriction logic
  • Channel module (channel) supports automatic layout switching on tablet devices (SaaS only)
  • Player module (player) supports automatic resolution handling (only for normal delay players)

Optimizes

  • Optimize the logic for retrieving the number of users in the chat room

Build System

  • Updated @polyv/interactions-receive-sdk version to rc-20240711
  • Updated @polyv/chat-sdk version to 0.24.0-rc.1

v1.4.0(2024-06-21)

Features

  • Interaction Module (interact-receive) supports lottery privacy agreement logic

Optimizes

  • Optimized logic handling after external script loading failure
  • Optimized fullscreen playback logic on mobile web pages
  • On the watch page, set the live player forceSessionId to false only when the vid parameter is provided

Build System

  • interactions-receive-sdk Updated to rc-20240620

v1.3.0(2024-05-24)

Bug Fixes

  • Chat module: Fixed the issue of duplicate accumulation of like messages from the audience themselves.
  • Chat module and Connect-mic module: Fixed the issue of incorrect audience nicknames after reconnecting to the chat room.
  • Fixed some bugs.

Features

  • The SDK supports integration with Polyv WebView SDK to enable Webview-Feed stream switching (contact Polyv technical staff for details).
  • The SDK supports responding to backend "Material Library" related feature configurations.
  • The channel module and user module support responding to presenter information.
  • The connect-mic module adds a new version of the mic connection flow.
  • The chat module and ask module add message resend functionality.
  • The interact-receive module supports hot-selling product floating bars and product prompt configuration.
  • The sale-invite module adds new data collection features.
  • Added support for a series of related parameters; refer to the corresponding version numbers on the parameters for details.

Optimizes

  • Support logic to load internal/external SDK and fallback to backup address on failure
  • Channel module supports responding to the technical support platform's configuration for webpage favicon
  • Invite module supports retrieving configuration information related to the invitation leaderboard

Build System

Underlying dependency version updated, related issues fixed.

  • @just4/load-script updated to 1.2.0
  • @polyv/player-module updated to 1.18.0
  • @polyv/chat-sdk updated to 0.21.0-rc.1
  • @polyv/live-low-latency-player updated to 1.6.0
  • interactions-receive-sdk updated to rc-20240516

v1.2.0(2024-03-22)

Bug Fixes

  • Chat module (chat): Fixed an issue where xss injection occurred when the broadcaster sent messages.
  • Player module (player): Fixed an issue where the clarity options were displayed incorrectly on mobile devices.

Features

  • Starting from this version, the finance risk confirmation module (finance-risk-confirm) and the finance risk evaluation module (finance-risk-evaluation) have been integrated and put into use.
  • The SDK adds an audience identity authentication module (identify) for Polyv's user system.
  • The core module (core) adds the getAccountInfo method to retrieve account information corresponding to the current channel.
  • The chat module (chat) adds related APIs to support message resending functionality.
  • The chat module (chat) and the ask module (ask) add support for titles and question area tags.
  • The player module (player) supports using a new low-latency vendor (volc).
  • The player module (player) supports using backend-related configurations to control playback video operations.
  • The document module (doc) adds permission control for page turning on the viewing page.
  • The sale-invite module (sale-invite) supports usage in non-WeChat environments.

Code Refactoring

Support exposing internal modules. Now, before creating a WatchCore instance, you can generate related default values by importing modules, for example:

import { PlvPlvChannelModule } from "@polyv/live-watch-sdk";
const themeSetting = PlvPlvChannelModule.generateDefaultThemeSetting();
console.warn("themeSetting", themeSetting);

Optimizes

  • SDK compatible with PC WeCom mini-programs
  • Channel module: Added APIs related to view count; optimized the issue of delayed view count synchronization
  • Connect-mic module: Optimized real-time PPT tracking after connecting to a normal-latency channel
  • Connect-mic module: Optimized the timing of on-stage status and mic connection status calls
  • Player module: Optimized error handling for no-latency events, allowing external fallback to normal-latency playback when no-latency playback fails
  • User module: Improved real-name authentication logic
  • Added support for a series of related parameters; refer to the corresponding version numbers in the parameters for details

Build System

  • Changed the external link domain for loading the Player SDK and PPT-SDK: from player.polyv.net to websdk.videocc.net
  • Changed the underlying request library: from @just4/ajax to @just4/request
  • Updated underlying dependency versions
    • @polyv/elog-sdk updated to 2.2.1
    • @polyv/emotion-sdk updated to 3.0.0
    • @polyv/player-module updated to 1.17.0
    • @polyv/rtas-sdk updated to 0.5.1
    • @polyv/live-low-latency-player updated to 1.5.0
    • interactions-receive-sdk updated to rc-20240321

v1.1.0(2024-02-01)

Bug Fixes

  • SDK: Fixed an issue where the nickname could not be set correctly when the provided audience nickname was a phone number during initialization of watchCore.
  • SDK: Fixed floating-point calculation precision issues in internal modules, affecting the withdraw module and the redpack module.
  • Player module: Fixed an issue where the clarity options and configuration did not match during normal delayed live streaming playback.
  • Player module: Fixed partial interaction and style anomalies on the PC WeChat Mini Program.
  • Enroll module: Fixed an issue where using a name as the chat room nickname was not synchronized in a timely manner during interactive scenarios.
  • Connect-mic module: Fixed an issue on some iOS devices where clicking to request mic connection authorization on the viewing page resulted in no sound during delayed playback.

Features

  • Interactive module (interact-receive) supports custom text for the lottery gift box button
  • Invite module (invite) adds the getInvitePosterUrl method to obtain the Polyv invitation poster link
  • One-customer-one-code module (sale-invite) adds share parameter logic processing, supporting response to backend-related configurations
  • Audience module (user-module) adds the getUserSaleInfo method to obtain the current one-customer-one-code follower information
  • Utility module (utils) adds methods for generating Polyv PDF preview URLs and error page URLs

Optimizes

  • SDK: Optimized the internal logic for detecting mobile devices, adapted to the Kylin system.
  • SDK: Optimized the behavior on mobile devices to directly load the corresponding mobile player when using the normal delayed live streaming player.
  • Auth module: Optimized the logic for external authorization conditions, so that when redirecting to a failed authorization URL, all parameters from the current page except for Polyv authorization parameters are carried along.
  • Channel module: Optimized the language configuration logic, added the getRecommendLangSetting method to retrieve the highest priority language configuration item.
  • Domain module: Added the watchPageDomain configuration, and optimized the domain handling logic for Polyv business page redirects.
  • SDK: A series of internal detail optimizations, including the WeChat snapshot page, sharing parameters, etc.

Build System

  • @polyv/player-module Updated to version 1.17.0, supporting and optimizing danmaku-related logic
  • @polyv/interactions-receive-sdk Updated to version rc-20240201
  • @polyv/live-low-latency-player Updated to version 1.4.0, optimizing the stream pulling logic when returning from background to foreground

v1.0.0(2023-12-29)

Deprecated

  • The player module is about to deprecate the fields in pcPlayerVersion within playerInfo.

Bug Fixes

  • Connect-mic module: Fixed an issue where connecting to the mic failed under poor network conditions during repeated connection attempts.
  • Chat module: Fixed an issue where the ChatEvents.SelfSpeak event was not properly triggered after a current audience member spoke in certain scenarios.
  • Player module: Fixed a conflict between the time-shift function and the marquee function in low-latency live streaming.

Features

  • Domain module: Added related domain configuration items; other modules updated accordingly.
  • Utils module: Added a method to retrieve the current default static resources.
  • Player module: Added a style toggle for the pause button.
  • Subtitle module: Added the SubtitleSetuped event callback to support the logic for fetching historical messages.
  • Donate module: Added the getDonateSvgaUrl method to obtain the default svga link from Polyv.

Optimizes

  • Added crossorigin=anonymous logic handling when loading external SDKs
  • Enhanced the viewing condition module (auth) to support one-code-per-customer authorization type
  • Optimized the display logic in the barrage module (barrage) to avoid discarding the current viewer's barrage even when there are too many barrages
  • Made the player module (player) compatible with the logic of playing encrypted videos in the PC mini-program for on-demand players
  • Optimized the authorization verification logic related to WeChat snapshot users in the WeChat module (weixin)
  • Optimized the automatic switch to replay logic after a live stream ends in the channel module (channel) and player module (player)

Build System

  • The official SDK version now pins the dependency library version numbers, and some beta packages that were dependencies have been updated to the official version.
  • Updated @polyv/interactions-receive-sdk to version rc-20231228
  • Updated @polyv/player-module to version 1.16.1, improving danmaku library support
  • Updated @polyv/live-low-latency-player to version 1.3.0

v0.12.0(2023-12-08)

Deprecated

  • The interaction module (interact-receive) will deprecate the ProductEnabledChange event. Please use the InteractSettingUpdate event instead.

Bug Fixes

  • Fixed an issue where frequent multiple calls to the core module (watchCore) setup method caused errors.
  • Fixed an issue where the player module (player) lacked clarity options.
  • Fixed an issue where the subtitle module (subtitle) might reverse the display order when retrieving historical real-time subtitles.
  • Fixed an issue where comments and danmaku sent by the user were not displayed during interactive comment lotteries.
  • Fixed an issue where the internal poller was not properly destroyed.

Features

  • SDK Application Configuration (appConfig) Update
    • Added saleInviteParams input parameter to handle one-customer-one-code invitation parameters
    • The existing sdkIntegration field now includes chatSdkScriptUrl input parameter to support passing a custom chat room SDK JS address
  • SDK Added One-Customer-One-Code Module (saleInvite) to handle related functional logic
  • Invitation Module (invite) Added invitation reward-related functional logic
  • Interaction Module (interact-receive) Added InteractSettingUpdate event notification configuration item synchronization
  • Subtitle Module (subtitle) Added a limit on the maximum number of displayed historical subtitle entries
  • SMS Module (sms) Added global configuration to handle the logic of whether image CAPTCHA is required

Code Refactoring

  • Optimize the SDK bundle size, reducing it to approximately 941KB
  • Change the getAskSdk method corresponding to the ask-module to asynchronous logic

Optimizes

  • Improved the destruction logic of the core module (watchCore)
  • Optimized the slow initial loading issue of PPT in the document module (doc)

Build System

  • @polyv/chat-sdk no longer needs to be bundled into the viewing page SDK. Instead, it is introduced via the umd external link method when executing the core module (watchCore) connect method, with version 0.19.0-rc.1.
  • Upgrade @just4/ua-info to version 1.2.0-beta to improve device type detection.
  • Update @polyv/interactions-receive-sdk version to 20231207.
  • Update rtcWebSDK to v1-latest.

v0.11.0(2023-11-17)

!! Note: Polyv WeCom-related services can only be used normally starting from this version !!

Bug Fixes

  • Chat Module: Fixed an issue where retrieving long text responses from special characters was abnormal.

Features

  • When creating an instance of the core module (watchCore), it supports passing the user title field actor via userInfo. The user module (user) adds the getUserActor method accordingly.
  • The WeChat module (weixin) adds processing related to enterprise WeChat contacts and enterprise WeChat marketing.
  • The player module (player) adds logic for time-shift bookmarking to support multi-bitrate compatibility.
  • The player module (player) and the barrage module (barrage) support adjusting the barrage display area and barrage transparency.
  • The chat module (chat) supports a method for prioritizing the insertion of local reward messages.
  • The chat room module (chat) and the ask module (ask) support carrying user titles when speaking.

Code Refactoring

  • WeChat module (weixin) Refactored the main authorization flow for the enterprise WeChat module
  • Chat room module (chat) Removed the old manual room assignment logic

Optimizes

  • Optimize the SDK bundle size, reducing it to approximately 1.3M
  • Adjust the external authorization and independent authorization logic in the viewing condition module (auth), allowing re-authorization to change viewer information when parameters support it
  • Optimize the bullet chat setting logic in the player module (player)

Build System

  • Update @polyv/interactions-receive-sdk version to 20231102
  • Update @polyv/rtas-sdk version to 0.4.3
  • Update @polyv/player-module version to 1.15.0, add danmaku-related logic

v0.10.0(2023-10-27)

Deprecated

  • The sendQuestion method corresponding to the ask module is deprecated. Please use sendAskSpeak instead.
  • The setChatMsgReplayPlaybackTarget method corresponding to the chat module is deprecated. Please use watchCore.playback.setCurrentPlaybackTarget instead.

Bug Fixes

  • Document module (doc): Fixed the issue where whiteboard and PPT display abnormally after switching to a large room in the dual-teacher function.
  • Chat module (chat): Fixed the issue where parsed links in the main instructor's chat messages were not fully displayed.

Features

  • When used in a WeChat Mini Program on PC, the SDK internally identifies the environment as a mobile platform.
  • Added AI module (polyv-ai) to support AI assistant Q&A business features.
  • The channel module now includes the getChannelAgreementConfig method to retrieve protocol configuration.
  • The player module introduces normal delayed playback control to handle whether live streaming allows pause during broadcast.
  • The connect-mic module adds support for the agora service provider.
  • The interact-receive module and user module introduce "Cloud Seat" related features.
  • The chat module adds support for classroom incentive features.
  • The chat module supports calling the sendCustomMessage method to send custom messages, and supports chat message callbacks with the corresponding type ChatMsgSource.CustomMessage.
  • The weixin module supports handling WeChat forced authorization persistence.

Optimizes

  • Channel module: Improved relay handling, now triggers related events when canceling relay association.
  • Barrage module: Optimized the mechanism for retrieving barrage messages.
  • Player module: Removed restrictions on the barrage font size feature.
  • Chat module: Optimized the logic for obtaining chat replay objects.
  • Optimized other internal processing logic within the SDK.

Build System

  • Updated rtc-web-sdk version to 1.20.2, fixing some known bugs
  • Updated @polyv/player-module version to 1.12.2, optimizing danmaku-related logic

v0.9.0(2023-09-22)

Bug Fixes

  • Channel module: Fixed the issue where the page count polling callback was triggered only once.

Features

  • Chat module: Added functionality to retrieve chat history based on timestamps.
  • Interact-receive module: Added product library replay functionality.
  • Connect-mic module: Added normal latency mic connection functionality for mobile devices.
  • Subtitle module: Added replay subtitle functionality.
  • WeChat module: Added method to retrieve WeChat-related configurations.
  • Invite module: Added method to retrieve invitation ranking configurations.
  • Ask module: Added event callback when prohibited words are triggered AskEvents.SendBadWord.
  • Player module and Barrage module: Added logic to modify barrage font size.
  • Enroll module: Added support for handling the tips field type.

Optimizes

  • Channel module: Enhanced support for the broadcast dual-teacher feature, synchronously adjusted the functional logic of other modules related to the broadcast dual-teacher feature.
  • Logic optimizations for some other internal modules.

Build System

  • Updated @polyv/interactions-receive-sdk version to 20230921
  • Updated the player SDK to support loading in IE browser
  • Updated @polyv/player-module version to 1.21.1
  • Updated @polyv/rtas-sdk version to 0.4.2

v0.8.0(2023-09-01)

Features

  • Channel module: Added SaaS viewing duration feature
  • User module: Added viewer phone number real-name authentication feature
  • Player module and Playback module: Support bilingual video stream switching
  • Invite module: Added invitation details feature
  • Chat room module: Added insertLocalImageChatMsg and sendImageMsgDirectly methods, and supports webp image format upload

Optimizes

  • Improved the multilingual processing mechanism within the SDK
  • The player module now responds to backend configuration to restrict the portrait fullscreen feature
  • The SMS module optimizes handling when the SMS platform is disabled, adding the UnSetSmsPlatform error reason
  • The barrage module now supports displaying custom messages
  • The subtitles module optimizes internal state management

Build System

  • Update @polyv/chat-image-upload-sdk version to 0.5.0-rc.1
  • Update @polyv/interactions-receive-sdk version to 20230831

v0.7.0(2023-08-25)

Features

  • SDK added a new subtitles module, and the player module now supports subtitle-related functionality.
  • The channel module added the SeminarHostJoinInGroup and SeminarHostLeaveGroup events, improving support for webinar scenarios.
  • The connect-mic module added the DeviceRecoverFail event.
  • The doc module now supports bidirectional whiteboard functionality.
  • The player module supports stream retry on network disconnection during low-latency live streaming.
  • The interact-receive module added a manual lottery end toggle.

Code Refactoring

  • Core module (watchCore) adjusted the updateAppConfig method, which no longer supports updating sdkIntegration.

Optimizes

  • Player module: Optimized latency time handling
  • Invite module: Optimized the getRankList method
  • Auth module: Optimized logic related to external authorization and independent authorization

Build System

  • Update rtc-web-sdk version to 1.19.1
  • Update @polyv/live-low-latency-player version to 1.2.0

v0.6.0(2023-08-11)

Features

  • Core Module (watch-core)
    • Now supports using isPlaybackWatchByVid for judgment even when the audience is not authorized, and provides getPlaybackWatchBasicInfo to retrieve basic information for watching vid replays
    • Added ignoreWxAuth and wxSnapshotPageMode fields to the input parameter autoAuthParams
  • WeChat Module (weixin) Added support for snapshot mode and response to forced WeChat authorization configuration
  • Channel Module (channel) Added marketing tracking switch; the tracking module (rtas) can now function normally without audience information
  • Interaction Module (interact-receive) Supports tracking processing and includes some internal optimizations
  • Player Module (player) Added the PlayerUIControlDisplay event, enabling the UI layer on mobile to respond to control bar visibility operations when using the player SDK's UI controls
  • Chat Room Module (chat) Supports response to emoji switch configuration
  • Share Module (share) Supports response to replay title sharing

Optimizes

  • Improved private domain handling within the SDK
  • Unified processing of the isOverLength field for chat messages in the chat room module; when the API does not return this field, messages exceeding 500 characters are considered overflow by default
  • Adjusted handling of the delay time delayTime in the player module
  • In the playback module, prioritize using videos from m3u8 when processing video replays, and expose the videoSource field externally for retrieving video data
  • Added related verification code prompt optimizations in the SMS module
  • Added CurrentUserKicked event synchronization to handle kick-out responses in the user module

Build System

  • @polyv/utils version upgraded to 2.5.0-beta.1
  • @polyv/live-low-latency-player version upgraded to 1.1.0
  • @polyv/white-board-sdk and @polyv/white-board-ui versions upgraded to 3.11.1, adding tools for operable video playback and support for loading images in avif format
  • @polyv/interactions-receive-sdk version upgraded to rc-20230803

v0.5.1(2023-07-28)

Deprecated

  • The maxViewers field in the chat module getChatSetting is no longer recommended. To determine if the maximum number of concurrent viewers in the live room has been exceeded, listen for the OverMaxOnlineCount event.

Bug Fixes

  • Player module: Fixed the issue where the no-latency player could not be clicked to play after initialization pause.

Features

  • Improved "test mode" handling: the UI layer no longer needs to focus on "test mode" and only needs to focus on the live streaming status.
  • The player module now supports automatically switching to replay cached videos after the live stream ends in certain scenarios.
  • The ask module added the SystemMessage event.
  • The chat module added the OverMaxOnlineCount event.
  • When the viewer's nickname is a phone number, it supports desensitization processing based on the backend switch.

Optimizes

  • When the player module is destroyed, synchronously destroy the time-shift related logic.
  • When reinstalling the player instance in the player module, playerWrap needs to be removed.
  • In the chat room module, add an error source to the CurrentUserRelogin event callback.

Build System

  • @just4 Upgraded some libraries to the official version
  • @polyv/chat-sdk Updated to 0.19.0-rc.1

v0.5.0(2023-07-21)

Bug Fixes

  • Fixed the issue with the large cover image display on the mobile onboarding page
  • Fixed the abnormal behavior of the PPT marquee

Features

  • Support live time-shifting and highlight moments (live markers, replay markers) Phase 1 features
  • Support normal latency player using IP addresses for CDN stream pulling
  • Add iframe opening method handling to the promotion link menu
  • Collaborate with the interactive SDK to enhance the quiz red packet feature, and add the chatToken parameter to adjust the interactive announcement interface

Optimizes

  • Change the default placeholder image URL for the first frame of playback

Build System

  • Upgrade rtcWebSDK to 0.18.0-rc.1
  • Upgrade @polyv/interactions-receive-sdk to rc-20230720

v0.4.0(2023-06-30)

Deprecated

  • InteractReceiveEvents.VotedListChange is about to be deprecated
    • The data required for the interactive voting feature does not need to be manually passed in; it can be maintained internally by @polyv/interactions-receive-sdk.

Bug Fixes

  • Fixed incorrect default image URLs within the SDK
  • Fixed encoding issue caused by statistical parameters param4 and param5 not prioritizing the API return value

Features

  • Question Module (ask): Added methods related to portrait mode questioning
  • Viewing Condition Module (auth): Optimized external authorization viewing conditions – supports hiding the login button under primary and secondary conditions
  • Interaction Module (interact-receive): Provides a singleton method for the quick-answer SDK
  • Polyv-SaaS supports static configuration

Optimizes

  • Improve marquee exception handling
  • When verifying external authorization and independent authorization, add a check for whether viewing condition authorization has been performed
  • In the player module, add the extraPlayerOptions field to the parameters of the options method setupPlayer to support transparent transmission to the player SDK

Build System

  • Upgrade @polyv/chat-sdk to 0.18.0-rc.1
  • Upgrade @polyv/interactions-receive-sdk to 0.15.0-rc-20230615.1
  • Added clientVersion input parameter to the detail interface to record the version number

v0.3.2(2023-06-16)

Bug Fixes

  • Fixed the issue where inviteInfo of AppConfig did not support optional parameters
  • Fixed the bug that prevented video playback during replay state

Features

  • The playback module now supports obtaining the playback URL via playbackOptions.url.
  • Added support for language option switching on the watch page in the response management backend.
  • Added support for the 'compress image' toggle in the live stream introduction in the response management backend.
  • Added support for hiding the reservation count on the watch page in the response management backend.
  • The channel module now includes the ChannelSetupFail event.
  • The chat room module now includes the ChatReconnectSuccess event and adds the ChatConnectFailReason enumeration value.

Optimizes

  • Add version-related comments to newly added code in the future.

Build System

  • Update rtc-web-sdk version to 1.18.1
  • Update rtas-sdk version to 0.4.1

v0.3.1(2023-06-09)

Bug Fixes

  • Fixed inconsistency between frontend viewer API parameters and backend parameters
  • Fixed issue where merged videos using HTTP protocol could not play properly
  • Added exception handling logic for paid viewing, and added redirect handling for trial viewing
  • Fixed issue where own messages were not displayed in the danmaku during chat replay

Features

  • Added verify verification module and provided verifyViewerLoginToken verification login token API, documentation entry.

Optimizes

  • Do not use bind to proxy methods of the chat replay module.
  • Optimize the logic of the player module's method for retrieving available lines getLineCount, returning 0 when line switching is not supported.
  • Improve the handling of forceSessionId in the player.
  • Add error codes to the whitelist viewing conditions.
  • Optimize the danmaku speed code.

Build System

  • Upgrade terser version to fix the issue where ESM compression fails to recognize the export * as syntax.

v0.3.0(2023-06-02)

Bug Fixes

  • Fixed the issue where entering the viewing page before the live stream started resulted in the document not being displayed after the stream began.
  • Improved the judgment for the tipping feature, allowing free gift tipping even when the WeChat Pay toggle is disabled.
  • Made registration viewing compatible with legacy live stream backend data.

Features

  • Viewing Conditions
    • Added parameter judgment for custom authorization verification
    • Independent authorization failure now supports redirect
    • Special authorization parameters are uniformly passed from the UI layer
  • WeChat
    • Adjusted the processing logic for WeChat authorization
  • Sub-venues
    • Support vertical template for sub-venues
    • Support sub-venue link redirection to sub-venues
  • PPT area supports disabling the marquee parameter show
  • Added authorization code parameter for on-demand player
  • Co-hosting
    • Support vertical screen co-hosting on mobile devices
  • Playback
    • Added chat replay feature
  • Player
    • Added bullet comment speed adjustment for live player
  • Chat Room
    • Chat room supports private deployment

Optimizes

  • A series of optimizations!!!
  • Most configurations and logic have been implemented using live-watch-sdk. The UI layer only needs to call the corresponding methods (scope of changes: chat room, channels, interactions, player, and other configurations).
  • Modified the logic for retrieving the number of online users.
  • Added apiVersion parameter when invoking invitation posters and WeChat payment redirects.
  • The SDK no longer retrieves special authorization parameters directly from the URL; instead, the UI layer passes them directly.
  • The sessionId required by the player is now set internally by the SDK based on backend configuration, and is no longer supported to be passed in from the UI layer.
  • The player's marquee is now set internally by the SDK based on backend configuration, and is no longer supported to be passed in from the UI layer.

Build System

  • Upgrade rtcWebSDK to 1.17.0
  • Upgrade interactive SDK to rc-20230518

v0.2.0(2023-05-12)

Not recommended for continued use.

Bug Fixes

  • Fixed the polling interval calculation issue in PageViewPolling

Features

  • Removed the checkBadWord method from the chat room module
  • Added plvDebug internally in the SDK and exposed the setDebugMode method externally
  • Moved special identity judgment into the SDK layer
  • Provided the uploadMultiImage method in the util module for sending multiple images at once
  • Added the getChannelPlayMode method
  • Added the share module
  • Added the playbackOrigin parameter to createWatchCore
  • Added the autoAuthParams parameter to createWatchCore to support direct access to the watch page under CAPTCHA conditions
  • Added a type parameter to SMS verification codes to support custom SMS content
  • Added the supportConnectMic method to the live mic module
  • Added POP switch judgment for invitation posters and sharing functionality
  • Added a switch for "Do not display countdown for the next session" in playback mode

Optimizes

  • Optimized the input parameters for the get chat history API
  • Optimized the message replacement logic for image violations
  • Optimized the message replacement mechanism after sending messages
  • Modified the type name of the reply field
  • Optimized the logic for like counts
  • Optimized the callback type for emotion feedback events
  • Improved the auth and weixin modules, providing corresponding methods
  • Improved the donate, redpack, live-booking, and playback modules, providing corresponding methods
  • Improved the invite module, no longer using InviteEvents
  • The data returned by getChatHistoryBySessionId now uses the PageContent structure
  • Added error message return for SMS verification

Build System

  • Update @polyv/utils, replace EventCenter
  • Update chat-sdk and chat-image-upload-sdk versions
  • Upgrade eslint-related packages

v0.1.0(2023-04-27)

Not recommended for continued use.

...

联系客服,在线咨询