Tutorial: SDK changelog

SDK changelog

2.1.5@2025.12.05

Added

  • Added first frame detection logic
  • Added init parameter autoFocusVideo
  • Added mobile automatic adaptation for mount node size
  • Added init parameter statsInterval

Fixed

  • Fixed audio play failure during reconnection

Changed

  • Removed automatic focus on video element

Optimization

  • Deduplication of instanceId

2.1.4@2025.11.19

Added

  • Added AccessInfo AcceleratorAddress
  • Added InitConfig parameters autoSwitchMic/autoSwitchCamera/streamProfile
  • Added Camera Status/Mic Status callback
  • Added media stats callback
  • Added createCustomDataChannel type
  • Added groupJoin callback
  • Added AndroidInstanceEvent touch_event callback

Fixed

  • Fixed automatic reconnection failure issue
  • Fixed switchCamera deviceId not taking effect issue

Changed

  • Split Audio tag
  • Restructured AccessInfo
  • Adjusted setStreamProfile interface

Optimization

  • Disabled right-click in streaming area

2.1.3@2025.08.08

Added

  • Added Operator interface
  • Added PC auto-rotation configuration to init parameter androidInstance

Changed

  • Disabled mobile mouse listening by default

2.1.2@2025.07.30

Added

  • Added Operator interface

Changed

  • Adjusted idleThreshold logic
  • Adjusted cloud phone local input method

2.1.1@2025.07.10

Added

  • Added Operator interface
  • Added cloud phone rotation angle
  • Added custom data channel retransmission strategy
  • Added mobile mouse listening
  • Added switch between custom input method/cloud input method

Changed

  • Adjusted automatic camera on/off logic

Optimization

  • Cloud phone reconnection

2.1.0@2025.06.13

Added

  • Added Access Token method
  • Added cloud phone module
  • Added cloud phone Operators
  • Added cloud device data channel
  • Added mobileTouchMove method for cloud phone/cloud mobile game
  • Added streaming screenshot function

2.0.0@2025.04.09

Added

  • Added Cursor mode 5, supporting frontend delta move self-drawn mouse
  • Added sv message for switching camera
  • Added cloud device data channel

Fixed

  • Fixed multiple event listening issue
  • Fixed play error issue that may occur with repeated reconstruction

Changed

  • Adjusted SDK architecture to support creating multiple cloud rendering instances

1.2.3@2024.11.05

Added

  • Added horizontal scroll event

Fixed

  • Fixed Harmony Next user agent judgment error
  • Fixed mobile touch cancel event

Changed

  • Changed PC touch mode commands

1.2.2@2024.09.24

Added

  • Added reconnection for private deployment

Fixed

  • Fixed gamepad button mapping issue
  • Fixed may not receive the onloadedmetadata callback in Wechat webview
  • Fixed onConnectFail return code

1.2.1@2024.04.02

Added

  • Added new interface for setting mouse status(setCursorState)

Fixed

  • Fixed mouse high sample rate data sending problem

1.2.0@2024.03.06

Added

  • Added ICE State callback
  • Added frequency limit to mouse scroll event on Mac OS

Changed

  • Callback onConnectSuccess after receiving the push stream
  • Eliminate the reconnection when FPS dropping to 0

1.1.21@2024.01.04

Added

  • Added some page logs
  • Added init parameter, remoteDesktopResolution
  • Added init parameter, enableEventIntercept, is used to disable event interception
  • Added audio tag to Huawei browser

Changed

  • Changed inbound-rtp JitterBuffer calculation

Fixed

  • When the touchcancel event occurs, clears the touchList data
  • Fix the issue of unsuccessful callbacks when idleThreshold is not set

1.1.20@2023.11.23

Added

  • Added video state to event callback

Changed

  • PC Paste enabled by default

Fixed

  • Fixed PC(Mac) input stuck key problem
  • Repeat Init to clear EventListener

1.1.19@2023.11.09

Added

  • Added interface getRequestId

Changed

  • Interface switchCamera added profile params
  • Adjusting the Cloud Mobile Game finger_id initial value

Fixed

  • Fixed the problem of failed to set mouse image
  • Fixed an error in the onConnectSuccess callback that caused the status update to fail

1.1.18@2023.10.17

Added

  • Added repeat init callback

Changed

  • Toggle camera/microphone return value

Improvement

  • Optimize web logs
  • Optimize camera/microphone switching logic
  • Optimize stats callbacks

1.1.17@2023.09.17

Fixed

  • Improve 'Webrtc Stats' compatibility for iOS 17

1.1.16@2023.09.12

Changed

  • Changed the renegotiation policy for iOS 15.4 and below
  • Changed mouse logic in touch mode
  • Changed the reconnection strategy

1.1.15@2023.08.15

Changed

  • Remove config sps-pps-idr-in-keyframe=1 from offer
  • Remove auto login callbacks

Improvement

  • Optimize dynamic camera/microphone switching logic
  • Add logs when visibility changes

1.1.14@2023.08.02

Added

  • Added interface sendGamepadEvent
  • Added function to switch user and environment camera in mobile

Changed

  • Remove sendRawEvent interface

Fixed

  • Improve 'show stats' compatibility