Release Notes
Updated: 2024-10-10 17:27:10
Release Notes
The watch page mini-program SDK follows the Semantic Versioning 2.0.0 specification for semantic versioning.
Bug Fixes
- Fixed the issue where the SDK could not properly provide the online user count 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
- Ask Module (ask) Fixed the issue where chat disconnection caused question sending to fail and message status error callbacks.
- Chat Module (chat) Fixed the conflict between converting speech links and XSS injection prevention, which prevented 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 zero-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
- Updated
@polyv/interactions-receive-sdkversion torc-20240912 - Updated
@polyv/live-low-latency-playerto1.7.0
v1.7.0(2024-08-23)
Deprecated
- The subtitle module will soon deprecate the
SubtitleSetupedevent.
Features
- Subtitle module: Supports real-time subtitle processing for multiple translation languages, added the
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 the reasons for reward distribution failures.
Code Refactoring
- Subtitle module: Changed the setup process. Real-time subtitle data will no longer be automatically requested during the setup phase. External manual invocation of the
initSubtitleListmethod is now required.
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
- Domain module: Added
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 about "repeated authorization for the same viewer" during independent and external authorization.
- The mic connection 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): Added support for pinning "messages/comments" to the wall
- Invite module (invite): Added support for downloading invitation details
- Viewing condition module (auth): Added support for whitelist viewing membership code usage restriction logic
- Channel module (channel): Added support for automatic layout switching on tablet devices (SaaS only)
- Player module (player): Added support for automatic resolution handling (only supported by normal latency players)
Optimizes
- Optimize the logic for retrieving the number of users in the chat room
Build System
- Update
@polyv/interactions-receive-sdkversion torc-20240711 - Update
@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 the Polyv WebView SDK to enable Webview-Feed stream switching capabilities (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 host 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.
- A series of new related parameters are supported; 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 the issue of
xssinjection when speaking from the streaming end - Player module (player) Fixed the incorrect display of resolution options 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 are in 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 resend 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 the module, for example:
import { PlvChannelModule } from '@polyv/live-watch-miniprogram-sdk'
const themeSetting = PlvChannelModule.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 graceful 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 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
watchCoreinitialization. - SDK: Fixed floating-point calculation precision issues in internal modules, affecting the withdrawal module (withdraw) and the red packet module (redpack).
- Player module (player): Fixed an issue where the clarity options and configuration did not match during normal delayed live streaming playback.
- Player module (player): Fixed partial interaction and style anomalies on the PC WeChat Mini Program.
- Enrollment module (enroll): Fixed an issue where using a name as the chat room nickname was not synchronized in real-time during interactive scenarios.
- Connect-mic module (connect-mic): Fixed an issue on some iOS devices where there was no sound during delayed playback after requesting microphone authorization on the viewing page.
Features
- Interactive module (interact-receive) supports custom text for the lottery gift box button
- Invite module (invite) adds the
getInvitePosterUrlmethod to retrieve the Polyv invitation poster link - One-customer-one-code module (sale-invite) adds share parameter logic processing, supporting response to relevant backend configurations
- Audience module (user-module) adds the
getUserSaleInfomethod to obtain the current one-customer-one-code follower information - Utility module (utils) adds methods to generate Polyv PDF preview URLs and error page URLs
Optimizes
- SDK: Optimized the internal logic for detecting mobile devices, adapted for the Kylin system.
- SDK: Optimized to directly load the corresponding mobile player when using the normal delayed live streaming player on mobile devices.
- Auth module: Optimized to carry all parameters from the current page link except for POLYV authorization parameters when redirecting to the failed authorization URL under external authorization conditions.
- 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 WeChat snapshot page, sharing parameters, etc.
Build System
@polyv/player-moduleUpdated to version1.17.0, supporting and optimizing bullet chat 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 to the foreground from the background
v1.0.0(2023-12-29)
Deprecated
- The player module (player) will deprecate the fields in
playerInfowithinpcPlayerVersion.
Bug Fixes
- Connect-mic module: Fixed the issue where connecting to the mic fails under poor network conditions and repeated connection attempts.
- Chat module: Fixed the issue where the
ChatEvents.SelfSpeakevent is not properly triggered after the current audience speaks in certain scenarios. - Player module: Fixed the conflict between the time-shift function for low-latency live streaming and the marquee function.
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 toggle for the pause button style.
- Subtitle module: Added the
SubtitleSetupedevent callback to accommodate 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 a mini-program on PC for on-demand players
- Optimized the authorization verification logic related to WeChat snapshot users in the WeChat module (weixin)
- Optimized the automatic switchback to replay logic after a live stream ends in the channel module (channel) and player module (player)
Build System
- Fixed the dependency library version numbers for the official SDK release, and updated some beta packages to the official version.
- Updated
@polyv/interactions-receive-sdkto versionrc-20231228 - Updated
@polyv/player-moduleto version1.16.1, with improved 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 soon 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 resolution 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 appConfig update
- Added
saleInviteParamsparameter to handle one-customer-one-code invitation parameters - The existing
sdkIntegrationfield now includeschatSdkScriptUrlparameter to support passing a custom chat room SDK JS address
- Added
- SDK added a new 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 an 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 logic of the core destruction 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 watch page mini-program SDK. Instead, it is introduced via theumdexternal link method when executing theconnectmethod of the core module (watchCore), 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 obtaining long text responses from special characters was abnormal.
Features
- When creating an instance of the core module (
watchCore), it supports passing the user title fieldactorviauserInfo. The user module (user) adds thegetUserActormethod accordingly. - The WeChat module (
weixin) adds processing related to enterprise WeChat friends 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 question 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-splitting logic
Optimizes
- Optimize the SDK package size, reducing it to approximately
1.3M - Adjust the external authorization and independent authorization logic in the viewing condition module (auth), allowing secondary 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, adding 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 feature.
- Chat module (chat): Fixed the issue where parsed anchor chat message links were not fully displayed.
Features
- When used in WeChat Mini Programs on PC, the SDK internally identifies the environment as mobile.
- Added AI module (polyv-ai) to support AI assistant Q&A business features.
- The channel module (channel) added the
getChannelAgreementConfigmethod to retrieve protocol configuration. - The player module (player) added normal delayed playback control to handle whether to allow pausing live streaming during a live broadcast.
- The connect-mic module (connect-mic) added support for the
agoraservice provider. - The interact-receive module (interact-receive) and user module (user) added features related to "Cloud Seat".
- The chat module (chat) added support for classroom incentive features.
- The chat module (chat) supports calling the
sendCustomMessagemethod to send custom messages, and supports chat message callbacks, with the corresponding type beingChatMsgSource.CustomMessage. - The WeChat module (weixin) supports handling WeChat mandatory 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, fixed some known bugs - Updated
@polyv/player-moduleversion to1.12.2, optimized 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 adjust barrage font size.
- Enroll module: Added handling for the
tipsfield type.
Optimizes
- Channel module: Enhanced support for the relay dual-teacher feature, synchronously adjusted other modules and related functional logic for the relay 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 real-name authentication via audience phone number
- 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
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 viewingvidreplays. - Added
ignoreWxAuthandwxSnapshotPageModefields to the input parameterautoAuthParams.
- Now supports using
- WeChat module (weixin) added support for snapshot mode and now responds to forced WeChat authorization configuration.
- Channel module (channel) added a marketing tracking toggle; the tracking module (rtas) can now function normally without requiring 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 devices using the player SDK's UI controls to respond to control bar visibility operations. - Chat room module (chat) now supports responding to emoji toggle configuration.
- Share module (share) now supports responding to replay title sharing.
Optimizes
- Improved private domain handling within the SDK
- Unified processing of the
isOverLengthfield for chat messages in the chat module. When the API does not return the relevant field, messages exceeding 500 characters are considered overflow by default. - Adjusted the 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 response for kick-out handling 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 to 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 a 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, remove
playerWrap. - In the chat room module, add the 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 playback first frame placeholder image URL
Build System
- Upgrade
rtcWebSDKto0.18.0-rc.1 - Upgrade
@polyv/interactions-receive-sdktorc-20230720
v0.4.0(2023-06-30)
Deprecated
InteractReceiveEvents.VotedListChangewill be deprecated soon- The data required for the interactive voting feature does not need to be passed manually; it can be maintained internally by
@polyv/interactions-receive-sdk.
- The data required for the interactive voting feature does not need to be passed manually; it can be maintained internally by
Bug Fixes
- Fixed incorrect default image URLs within the SDK
- Fixed encoding issues caused by statistical parameters param4 and param5 not prioritizing the API return values
Features
- Question Module (ask): Added methods related to portrait mode questioning
- Viewing Condition Module (auth): Optimized external authorization viewing conditions – support for hiding the login button under primary and secondary conditions
- Interaction Module (interact-receive): Provided 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 theoptionsparameter of thesetupPlayermethod to 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
AppConfig'sinviteInfodid not support optional parameters - Fixed the bug that prevented video playback in replay state
Features
- The playback module now supports obtaining the playback URL via
playbackOptions.url. - Added support for language option switching on the response management backend viewing page.
- Added support for the "compress image" toggle in the live stream introduction on the response management backend.
- Added support for the toggle to hide the number of reservations on the response management backend viewing page.
- The channel module now includes the
ChannelSetupFailevent. - The chat module now includes the
ChatReconnectSuccessevent, and theChatConnectFailReasonenumeration value has been added.
Optimizes
- Add version number-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 interface parameters and backend parameters
- Fixed issue where merged videos using HTTP protocol could not play normally
- 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 streams
getLineCount, returning 0 available streams when stream 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 the terser version to fix the issue where the compressed ESM cannot 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 for vertical template in sub-venues
- Support for sub-venue link redirection to sub-venues
- PPT area supports the
showparameter to disable the marquee - Added authorization code parameter for on-demand player
- Live Co-hosting
- Support for vertical screen co-hosting on mobile devices
- Playback
- Added chat replay functionality
- Player
- Added bullet chat speed adjustment for live streaming player
- Chat Room
- Chat room supports private deployment
Optimizes
- A series of optimizations!!!
- Most configurations and logic have been changed to be implemented via
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 the
apiVersionparameter when invoking invitation posters and WeChat Pay redirects. - The SDK no longer retrieves special authorization parameters directly from the URL; instead, these are passed directly from the UI layer.
- The
sessionIdrequired by the player is now set internally by the SDK based on backend configuration, and is no longer supported to be passed 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 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 an issue with the polling interval calculation in PageViewPolling
Features
- Removed the
checkBadWordmethod from the chat room module - Added
plvDebuginternally in the SDK and exposed thesetDebugModemethod externally - Moved special identity determination 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 logic for invitation posters and sharing features
- Added a switch for "Do not display countdown for the next session" in playback mode
Optimizes
- Optimized the input parameters of the API for retrieving chat history
- 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
authandweixinmodules by providing corresponding methods - Improved the
donate,redpack,live-booking, andplaybackmodules by providing corresponding methods - Improved the
invitemodule, no longer usingInviteEvents - The data returned by
getChatHistoryBySessionIdnow uses thePageContentstructure - Added error message return for SMS verification
Build System
- Updated
@polyv/utils, replaced EventCenter - Updated chat-sdk and chat-image-upload-sdk versions
- Upgraded eslint-related packages
v0.1.0(2023-04-27)
Not recommended for continued use.
...
