CHANGELOG

CHANGELOG

[ 3.0.3] (2024-03-26)

Repair

[ 3.0.2] (2024-03-22)

New

Optimization

  • Optimize the background color of log display.

Repair

  • Fixed the issue where the call record would not be reported if the call failed to hang up after the group was removed from the call.

[ 3.0.1] (2024-02-23)

New

  • The inviter field is added to the signaling data to solve the problem of messages on the screen when communicating with the client.

Optimization

  • Optimize the log module and improve the clarity of logs (for example: parameter verification gives clear prompt information).
  • Optimize setLogLevel to further reduce Log print volume.

Repair

  • Fix the version field in log reporting.

[ 3.0.0] (2024-01-12)

New

  • Upgrade the underlying dependency trtc-js-sdk to trtc-sdk-v5.
  • Supports local preview before the called party is connected.
  • Supports switching between front and rear on the mobile terminal.
  • Added local preview before entering the room.
  • openCamera Add isFrontCamera parameter . This parameter is only valid on mobile terminals.
  • DEVICED_UPDATED The event adds speakerList and currentSpeaker .
  • getDeviceList Add speaker Obtain.
  • switchDevice Add speaker switch.
  • New switchCamera interface , supports switching between front and rear cameras on the mobile terminal.

Optimization

  • Optimize the call invitation logic, and the caller’s signaling time is reduced from the original 4s to 1s, which greatly improves the call experience.

Repair

  • Fix USER_VIDEO_AVAILABLE Throws out the problem of occasionally incorrect status.
  • Fixed the issue of incorrect device switching after device plugging and unplugging.
  • Fixed the problem of device switching failure when removing the last device in the device list.

[ 2.1.2] (2023-12-29)

New

Optimization

  • Optimize login logic and throwing of sdk_ready event.

Repair

  • Fixed the problem that the IM status could not be cleared due to the delay in resetting the multi-end login status in time.

[ 2.1.1] (2023-12-15)

Add

Optimization

  • Optimize the heartbeat reporting of call records.

[ 2.1.0] (2023-12-01)

Add

  • Add HTTP detection and give clear prompt information.
  • Add browser shutdown detection and reporting.

Optimization

  • Optimize the problem of missing logs when filtering by userId .

[ 2.0.9] (2023-11-17)

Optimization

Repair

  • Fixed the problem of multi-terminal login that can be connected under multi-terminal login.

[ 2.0.8] (2023-11-03)

Optimization

  • Optimize the prompt information for devices without cameras, microphones and devices without permissions. For details, see: Error code.

Repair

  • Fixed the problem of hanging up and reporting errors when inviting others.
  • Fixed the problem of error when plugging or unplugging the device after the call.

[ 2.0.7] (2023-10-20)

Add

  • Add error handling for calling blacklisted users.

Optimization

  • Optimize the timing of heartbeat reporting in call records.

[ 2.0.6] (2023-10-08)

Add

  • Added log reporting to facilitate problem troubleshooting and data analysis.

Optimization

  • Optimize the call failure prompt information.
  • Optimize AI noise reduction processing, increase timeout processing, and reduce the impact on connection.

[ 2.0.5] (2023-09-19)

Repair

  • Fixed the problem of failure to parse messages on the screen when integrated into TUIKit.

[ 2.0.4] (2023-09-15)

Optimization

    Optimize different purchase information and links for different sdkAppId (domestic and international).

New

  • Added modifications to the invitation signaling to solve the problem where the peer has canceled the call and the user still receives the invitation after logging in.

Repair

  • Fixed the issue of an event that caused an error when one terminal was busy and the other terminal hung up when logging in with multiple terminals.
  • Fixed the problem that after upgrading @tencentcloud/chat, destroying the instance did not clear the signaling Listening event issues.
  • Fix the custom field in signaling userData Inconsistency issue with the client.

[ 2.0.3] (2023-09-04)

Repair

  • Fixed the problem that SDK_READY Event issues.

[ 2.0.2] (2023-08-31)

Repair

  • Fix the error code for calling users who are not logged in to TIM.

[ 2.0.1] (2023-08-21)

Repair

  • Fix the impact on calls when call record reporting interface exceptions occur.

[ 2.0.0] (2023-08-03)

New

[ 1.6.1] (2024-02-23)

New

  • The inviter field is added to the signaling data to solve the problem of messages on the screen when communicating with the client.

[ 1.5.7] (2023-11-03)

Optimization

  • Optimize the prompt information for devices without cameras, microphones and devices without permission.

Repair

  • Fixed the problem of hanging up and reporting errors when inviting others.
  • Fixed the problem of error when plugging or unplugging the device after the call.

[ 1.5.6] (2023-10-20)

Add

  • Add error handling for calling blacklisted users.

Optimization

  • Optimize the timing of heartbeat reporting in call records.

[ 1.5.5] (2023-10-08)

Add

  • Added log reporting to facilitate problem troubleshooting and data analysis.

Optimization

  • Optimize AI noise reduction processing, increase timeout processing, and reduce the impact on connection.

[ 1.5.0] (2023-09-15)

Optimization

    Optimize different purchase information and links for different sdkAppId (domestic and international).

Repair

  • Fixed the issue of an event that caused an error when one terminal was busy and the other terminal hung up when logging in with multiple terminals.

[ 1.4.10] (2023-09-01)

Repair

  • Fix startLocalView locally Log reporting exception caused when the stream does not exist.

Optimization

  • Add invitation signaling log reporting.

[ 1.4.9] (2023-08-18)

Optimization

  • Optimize log reporting to facilitate troubleshooting.

[ 1.4.7] (2023-07-14)

Repair

  • Fixed the problem that after switching the camera, the previously switched camera could not be captured when it was closed and reopened.

[ 1.4.6] (2023-07-03)

New

Repair

[ 1.4.5] (2023-06-08)

New

  • Add device permission Documentation describing issues related to device permissions.
  • Add capability detection Documentation, according to the documentation, it can detect whether the current browser supports audio and video calls.

Optimization

  • Optimize the error message when there is no device permission.

Repair

[ 1.4.4] (2023-05-25)

Optimization

  • Optimize the API documentation.

Repair

  • Fix the device permission check and solve the black screen problem on iOS safari.

[ 1.4.3] (2023-05-17)

Repair

  • FixopenCamera Check device When the permission is set, the video stream pushed by the caller on iOS Safari has no bit rate problem.
  • Fixed the problem of INVITED not throwing userData .

[ 1.4.2] (2023-05-12)

New

  • Add call, groupCall supports custom digital room numbers , Digital room number range: [1, 2147483647].
  • Add call, groupCall allows users to customize userData data .

Optimization

  • Optimize the signaling processing logic and only process call signaling.

Repair

  • Fixed the issue on iOS Safari where the video stream pushed by the caller had no bit rate to prevent the called party from seeing a black screen.

[ 1.4.1] (2023-04-27)

Optimization

  • Optimize the problem of inconsistent underlying dependency versions.

[ 1.4.0] (2023-04-23)

Repair

  • Fixed the problem of no sound in video calls when playback mode is not set.
  • Fixed USER_VIDEO_AVAILABLE event issue.
  • Fixed the issue where after the caller turns off the camera during a video call, the callee cannot hear the caller's voice after the call is connected.
  • Fixed the problem when the caller turns off the camera during a video call. After the callee is connected, the caller turns on the camera, but the callee cannot receive the message USER_VIDEO_AVAILABLE event.

[ 1.3.9] (2023-04-14)

New

Optimization

Repair

  • Fixed the issue where the called party hangs up while the called party clicks to connect, and the called party occasionally displays an incorrect status.
  • Fixed the issue where when an instance is destroyed and re-created, two invitations will be received when called and the call ends abnormally after 30 seconds.

[ 1.3.7] (2023-03-31)

New

  • Added detection of browser call environment. Under HTTP protocol, an error will be thrown when the domain name is not localhost and 127.0.0.1.

Optimization

  • Error message when the optimization page does not have TRTC capabilities.
  • Optimize the guidance information for activating the experience package.

Repair

  • Fixed the problem that when the App turns off the audio during a voice call with the App, TUICallEngine does not throw USER_AUDIO_AVAILABLE event problem.

[ 1.3.6] (2023-03-17)

New

Optimization

  • Optimize the setVideoQuality interface, Support dynamic settings.
  • Optimize common error prompts to facilitate customers to quickly locate the cause of the problem.

Repair

    tuiCallEngine.login () asynchronously did not end normally when the incoming tim was logged in .
  • Fix the error reporting issue in tuiCallEngine.destroyInstance ().

[ 1.3.5] (2023-03-02)

New

  • Supports setting up corporate intranet proxy. Get the TRTC client object through tuiCallEngine.getTrtcClient (), and then set the proxy. For details, see Enterprise intranet agency solution.

Optimization

  • Optimize the SDK code and remove unnecessary external dependencies.
  • Optimize the API documentation and add Two-person call tutorial.

Repair

  • Fixed the problem of logout() reporting errors when disbanding a room or being kicked.
  • Fixed the issue where the SDK status was not cleared correctly when a room was dismissed or kicked.
  • Fixed the problem of SDK event throwing and status clearing when the caller and called party hang up at the same time.

[ 1.3.4] (2023-02-10)

Optimization

  • Optimize the performance and reliability of SDK quality reporting.
  • Optimize the accuracy of the USER_VIDEO_AVAILABLE event.

Repair

  • Fixed the problem caused by the caller not releasing the microphone device when ending the call.
  • Fixed the problem that the caller could not enter the call normally when he did not have camera permission.

[ 1.3.3] (2023-01-13)

Optimization

Repair

  • Fixed the ERROR events.

[ 1.3.2] (2023-01-05)

Breaking Change

  • Modify the openCamera interface, You need to pass in the videoViewDomID when using it (local video will be rendered into the dom id node), so please pay attention when upgrading.

Optimization

  • After optimizing the caller's call to the calledee, the caller will not be able to uplink audio and video streams until the calledee is connected. Reduce the cloud recording costs incurred by the calling party’s uplink audio and video stream before the called party is connected.
  • Optimize calling closeCamera The camera device will be released. startLocalView, stopLocalView will be gradually abandoned in the future, and you can use openCamera, closeCamera implements the same function.

[ 1.3.1] (2022-12-16)

Repair

  • Fixed an issue with busy rejection and multi-end login. Specific scenario: A calls B/C, D calls C/E, and C is a multi-end login. C throwing CALLING_CANCEL event issue fixed.
  • Fixed the problem that during a multi-person call, the unconnected person cannot receive the hung up message from the connected personUSER_LEAVE event.

[ 1.3.0] (2022-12-13)

Attention

  • It is recommended to use tsignaling v1.0.3 or higher.

New

  • Supports the function of adding people midway, and you can directly join an existing group call room. For more details, please refer to: Add people midway.
  • Supports the function of inviting others. You can directly invite others to participate in the call in a group call. For more details, please see: Invite others.

Repair

  • Compatible with problems caused by differences in signaling data structures when switching video to voice in iOS v1.1.0.103.
  • Fixed the issue where there were only two people left in the call and one of them closed the page, causing the other person to still be in the call.

[ 1.2.1] (2022-11-23)

New

  • Add AI noise reduction function.

Repair

  • When the camera is damaged, it causes the problem of not being able to make normal calls. When the camera is damaged, it causes the problem of not being able to make normal calls.
  • When the calling and called parties switch between audio and video, no CALL_TYPE_CHANGED event problem.
  • Room ID exceeding a certain range causes room entry failure.

[ 1.1.3] (2022-11-17)

Repair

  • There are problems with introducing the new version of tim-js-sdk .

[ 1.1.2] (2022-11-16)

Repair

  • Solve the problem of connection and rejection processing during multi-terminal login (for example: A calls B1/B2, and B1 is connected).
  • Fix the problem of hangup processing in special cases (for example: A calls B (not connected), C calls A/B/D (D is connected), C hangs up).
  • Fix the problem of rejection processing in special cases (for example: A calls B, A cuts audio, and B rejects).
  • that getDeviceList returns undefined when getting the camera list for the second time .
  • Fixed the issue where audio and video switching signaling was not processed when the called party was in the waiting state.

Optimization

  • Optimize the call/ groupCall /accept/ hangup /reject interface to prevent exceptions caused by repeated calls.

[ 1.1.1] (2022-11-02)

Repair

  • Handling of timeout issues.
  • Bugfix for busy reject issue.

[ 1.1.0] (2022-10-28)

Optimization

  • Internal signaling, throwing events optimization.
  • Adjustment of the data structure of thrown events, please see for details.
  • Add API exception capture processing.

Repair

  • Fixed the problem of checking microphone permissions for call and groupCall .

[ 1.0.4] (2022-10-14)

Optimization

  • Optimizing dependencies causes the package to be too large. After optimization, the package size is: 131kb.

[ 1.0.3] (2022-09-01)

Repair

  • Fixed the problem that CALLING_TIMEOUT cannot be monitored.
  • Fixed the problem of failure to communicate under the file protocol.

Optimization

  • Optimized the error message.

[ 1.0.2] (2022-08-19)

New

  • New initialization init .
  • Added the ability to obtain call invitations within 30 seconds before login (requires Tsignaling version& gt ;= v1.0.0).

Optimization

  • Optimized logout processing logic.
  • Optimized onInvitationCancelled processing logic.
  • Optimized onInvitationTimeout processing logic.

[ 1.0.1] (2022-08-09)

New

  • Add a new CALL_TYPE_CHANGED event, which will be called back when the call mode changes, such as when switching from video to voice call.
  • Added DEVICED_UPDATED event, which will be called back when the device list changes.

Optimization

  • Optimized the issue of multiple authorizations on H5.

Repair

  • There is a problem of silence when plugging and unplugging headphones on ios .