Release Notes
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-moduleversion torc-20250814 - Updated
@polyv/watch-identify-sdk-coreversion torc-20250814 - Updated
@polyv/interactions-receive-sdkversion torc-20250814 - Updated
@polyv/product-sdkversion torc-20250814 - Updated
@polyv/iarrelated 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, plvWaitexternally. - 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
PlayerLoadingDetectionUpdateevent 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/utilsversion to2.13.0
SDK Update
- Updated
@polyv/watch-identify-sdk-coreversion torc-20250703 - Updated
@polyv/live-low-latency-playerversion to1.10.0 - Updated
@polyv/chat-sdkversion torc-20250619 - Updated
@polyv/interactions-receive-sdkversion torc-20250724 - Updated
@polyv/product-sdkversion torc-20250724 - Updated
@polyv/iarrelated 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, versionrc-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
Russianlanguage - SDK now supports responding to the
plvLayoutparameter 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
AppConfigadded optional parametertargetSessionId- 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
liveStreamTokenparameter 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-playerversion to1.9.3 - Updated
@polyv/chat-sdkversion torc-20250619 - Updated
@polyv/watch-identify-sdk-coreversion torc-20250612 - Updated
@polyv/interactions-receive-sdkversion torc-20250612 - Updated
@polyv/iarrelated 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, versionrc-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
setKeyboardEnabledmethod 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-sdkupdated torc-20250522@polyv/watch-identify-sdk-coreupdated torc-20250522@polyv/interactions-receive-sdkupdated torc-20250522@polyv/iarupdated 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
PlayerInnerTimeUpdateevent to facilitate external retrieval of player video information. - The user module adds the
getInviteWatchInviteSalesIdmethod 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.ignoreWatchUserSystemparameter to bypass platform authorization.
Optimizes
- Withdrawal module (withdraw): Added withdrawal-related error code information for external display.
Build System
@polyv/watch-identify-sdk-coreupdated torc-20250410@polyv/interactions-receive-sdkupdated torc-20250410@polyv/iarupdated 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.forceDirectAuthto 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-playerupdated to1.8.0@polyv/interactions-receive-sdkupdated torc-20250320@polyv/watch-identify-sdk-coreupdated torc-20250320@polyv/iarUpdated 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/iarNew 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
freezemethod. - 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
setupEmotionParserindependently. - The subtitle module (subtitle) has been renamed from
subtitlestosubtitle.
Optimizes
- Chat module: Added
ChatMsgSource.Unknowndata 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-sdkversion to3.1.0 - Updated
@polyv/interactions-receive-sdkversion torc-20250227 - Updated
@polyv/chat-sdkversion to0.29.0-rc.1
SDK Add
Added
@polyv/watch-identify-sdk-core, versionrc-20250213Added
@polyv/iarrelated 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
parseProductDetailmethod to process product detail data
Build System
- Update
@polyv/interactions-receive-sdkversion torc-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.CurrentUserRelogincould not be properly called back due to interface caching.
Features
- Core module supports external invocation of
setWeixinSdkto 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-sdkversion to3.0.0 - Update
@polyv/interactions-receive-sdkversion torc-20241024 - Update
@polyv/chat-sdkversion to0.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-sdkversion torc-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
param4parameter was passed.
Build System
- Update
@polyv/interactions-receive-sdkversion torc-20240919
v1.8.0(2024-09-13)
Deprecated
- Chat module (chat): The old
getOnlineUserListmethod is deprecated. Please use thegetOnlineUserListNewmethod 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-sdkversion torc-20240912 - Update
@polyv/live-low-latency-playerto1.7.0
v1.7.0(2024-08-23)
Deprecated
- The subtitle module is about to be deprecated
SubtitleSetupedevent
Features
- Subtitle module: Supports real-time subtitle processing in multiple translation languages, added
SubtitleListForceSyncevent - Player module: Supports changing the subtitle selection component of the playback player via the
setPlayerReplaySubtitleSelectConfigmethod - 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
initSubtitleListmethod 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-sdkversion torc-20240815
v1.6.0(2024-08-02)
Features
- The domain module adds the
processRandomHostnamemethod 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-sdkversion torc-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
getAddressManagementandgetOrdermethods 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-sdkversion torc-20240711 - Updated
@polyv/chat-sdkversion to0.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
forceSessionIdtofalseonly when the vid parameter is provided
Build System
interactions-receive-sdkUpdated torc-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-scriptupdated to1.2.0@polyv/player-moduleupdated to1.18.0@polyv/chat-sdkupdated to0.21.0-rc.1@polyv/live-low-latency-playerupdated to1.6.0interactions-receive-sdkupdated torc-20240516
v1.2.0(2024-03-22)
Bug Fixes
- Chat module (chat): Fixed an issue where
xssinjection 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
getAccountInfomethod 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.nettowebsdk.videocc.net - Changed the underlying request library: from
@just4/ajaxto@just4/request - Updated underlying dependency versions
@polyv/elog-sdkupdated to2.2.1@polyv/emotion-sdkupdated to3.0.0@polyv/player-moduleupdated to1.17.0@polyv/rtas-sdkupdated to0.5.1@polyv/live-low-latency-playerupdated to1.5.0interactions-receive-sdkupdated torc-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
getInvitePosterUrlmethod 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
getUserSaleInfomethod 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
getRecommendLangSettingmethod to retrieve the highest priority language configuration item. - Domain module: Added the
watchPageDomainconfiguration, 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-moduleUpdated to version1.17.0, supporting and optimizing danmaku-related logic@polyv/interactions-receive-sdkUpdated to versionrc-20240201@polyv/live-low-latency-playerUpdated to version1.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
pcPlayerVersionwithinplayerInfo.
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.SelfSpeakevent 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
SubtitleSetupedevent callback to support the logic for fetching historical messages. - Donate module: Added the
getDonateSvgaUrlmethod to obtain the defaultsvgalink from Polyv.
Optimizes
- Added
crossorigin=anonymouslogic 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-sdkto versionrc-20231228 - Updated
@polyv/player-moduleto version1.16.1, improving danmaku library support - Updated
@polyv/live-low-latency-playerto version1.3.0
v0.12.0(2023-12-08)
Deprecated
- The interaction module (interact-receive) will deprecate the
ProductEnabledChangeevent. Please use theInteractSettingUpdateevent instead.
Bug Fixes
- Fixed an issue where frequent multiple calls to the core module (watchCore)
setupmethod 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
saleInviteParamsinput parameter to handle one-customer-one-code invitation parameters - The existing
sdkIntegrationfield now includeschatSdkScriptUrlinput parameter to support passing a custom chat room SDK JS address
- Added
- 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
InteractSettingUpdateevent 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
getAskSdkmethod 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-sdkno longer needs to be bundled into the viewing page SDK. Instead, it is introduced via theumdexternal link method when executing the core module (watchCore)connectmethod, with version0.19.0-rc.1.- Upgrade
@just4/ua-infoto version1.2.0-betato improve device type detection. - Update
@polyv/interactions-receive-sdkversion to20231207. - Update
rtcWebSDKtov1-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
actorviauserInfo. The user module (user) adds thegetUserActormethod 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-sdkversion to20231102 - Update
@polyv/rtas-sdkversion to0.4.3 - Update
@polyv/player-moduleversion to1.15.0, add danmaku-related logic
v0.10.0(2023-10-27)
Deprecated
- The
sendQuestionmethod corresponding to the ask module is deprecated. Please usesendAskSpeakinstead. - The
setChatMsgReplayPlaybackTargetmethod corresponding to the chat module is deprecated. Please usewatchCore.playback.setCurrentPlaybackTargetinstead.
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
getChannelAgreementConfigmethod 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
agoraservice 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
sendCustomMessagemethod to send custom messages, and supports chat message callbacks with the corresponding typeChatMsgSource.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-sdkversion to1.20.2, fixing some known bugs - Updated
@polyv/player-moduleversion to1.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
tipsfield 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-sdkversion to20230921 - Updated the player SDK to support loading in IE browser
- Updated
@polyv/player-moduleversion to1.21.1 - Updated
@polyv/rtas-sdkversion to0.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
insertLocalImageChatMsgandsendImageMsgDirectlymethods, and supportswebpimage 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
UnSetSmsPlatformerror reason - The barrage module now supports displaying custom messages
- The subtitles module optimizes internal state management
Build System
- Update
@polyv/chat-image-upload-sdkversion to0.5.0-rc.1 - Update
@polyv/interactions-receive-sdkversion to20230831
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
SeminarHostJoinInGroupandSeminarHostLeaveGroupevents, improving support for webinar scenarios. - The connect-mic module added the
DeviceRecoverFailevent. - 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
updateAppConfigmethod, which no longer supports updatingsdkIntegration.
Optimizes
- Player module: Optimized latency time handling
- Invite module: Optimized the
getRankListmethod - Auth module: Optimized logic related to external authorization and independent authorization
Build System
- Update
rtc-web-sdkversion to1.19.1 - Update
@polyv/live-low-latency-playerversion to1.2.0
v0.6.0(2023-08-11)
Features
- Core Module (watch-core)
- Now supports using
isPlaybackWatchByVidfor judgment even when the audience is not authorized, and providesgetPlaybackWatchBasicInfoto retrieve basic information for watchingvidreplays - Added
ignoreWxAuthandwxSnapshotPageModefields to the input parameterautoAuthParams
- Now supports using
- 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
PlayerUIControlDisplayevent, 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
isOverLengthfield 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
delayTimein the player module - In the playback module, prioritize using videos from
m3u8when processing video replays, and expose thevideoSourcefield externally for retrieving video data - Added related verification code prompt optimizations in the SMS module
- Added
CurrentUserKickedevent synchronization to handle kick-out responses in the user module
Build System
@polyv/utilsversion upgraded to2.5.0-beta.1@polyv/live-low-latency-playerversion upgraded to1.1.0@polyv/white-board-sdkand@polyv/white-board-uiversions upgraded to3.11.1, adding tools for operable video playback and support for loading images in avif format@polyv/interactions-receive-sdkversion upgraded torc-20230803
v0.5.1(2023-07-28)
Deprecated
- The
maxViewersfield in the chat modulegetChatSettingis no longer recommended. To determine if the maximum number of concurrent viewers in the live room has been exceeded, listen for theOverMaxOnlineCountevent.
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
SystemMessageevent. - The chat module added the
OverMaxOnlineCountevent. - 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,
playerWrapneeds to be removed. - In the chat room module, add an error source to the
CurrentUserReloginevent callback.
Build System
@just4Upgraded some libraries to the official version@polyv/chat-sdkUpdated to0.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
rtcWebSDKto0.18.0-rc.1 - Upgrade
@polyv/interactions-receive-sdktorc-20230720
v0.4.0(2023-06-30)
Deprecated
InteractReceiveEvents.VotedListChangeis 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.
- The data required for the interactive voting feature does not need to be manually passed in; it can be maintained internally by
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-SaaSsupports 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
extraPlayerOptionsfield to the parameters of theoptionsmethodsetupPlayerto support transparent transmission to the player SDK
Build System
- Upgrade
@polyv/chat-sdkto0.18.0-rc.1 - Upgrade
@polyv/interactions-receive-sdkto0.15.0-rc-20230615.1 - Added
clientVersioninput parameter to thedetailinterface to record the version number
v0.3.2(2023-06-16)
Bug Fixes
- Fixed the issue where
inviteInfoofAppConfigdid 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
ChannelSetupFailevent. - The chat room module now includes the
ChatReconnectSuccessevent and adds theChatConnectFailReasonenumeration value.
Optimizes
- Add version-related comments to newly added code in the future.
Build System
- Update
rtc-web-sdkversion to 1.18.1 - Update
rtas-sdkversion 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
verifyverification module and providedverifyViewerLoginTokenverification login token API, documentation entry.
Optimizes
- Do not use
bindto 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
forceSessionIdin 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 * assyntax.
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
codeparameter 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
apiVersionparameter 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
sessionIdrequired 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
checkBadWordmethod from the chat room module - Added
plvDebuginternally in the SDK and exposed thesetDebugModemethod externally - Moved special identity judgment into the SDK layer
- Provided the
uploadMultiImagemethod in the util module for sending multiple images at once - Added the
getChannelPlayModemethod - Added the
sharemodule - Added the
playbackOriginparameter tocreateWatchCore - Added the
autoAuthParamsparameter tocreateWatchCoreto 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
supportConnectMicmethod 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.
...
