No Description

CHANGELOG 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. ## THE CHANGELOG
  2. #### 2.9.0-alpha.2
  3. - fix ios dictionary stringValue type cast
  4. #### 2.9.0-alpha.1
  5. - fix typo: rename `methodisSpeakerphoneEnabled` to `isSpeakerphoneEnabled`
  6. - events deprecated & instead:
  7. * `microphoneEnabled` instead `localAudioStateChanged`
  8. * `audioTransportStatsOfUid` instead `remoteAudioStats`
  9. * `videoTransportStatsOfUid` instead `remoteVideoStats`
  10. * `userMuteVideo`, `userEnableVideo`, `userEnableLocalVideo` & `firstRemoteVideoDecoded` instead `remoteVideoStateChanged`
  11. - events enhancement:
  12. * `rtcStats`, `leaveChannel` add channel stats `txAudioBytes`, `txVideoBytes`, `rxAudioBytes`, `rxVideoBytes`, `txPacketLossRate`, `rxPacketLossRate`
  13. - new events:
  14. * `remoteAudioStateChanged` subscribe for remote audio state
  15. * `localAudioStateChanged` subscribe for local audio state
  16. * `localAudioStats` subscribe for local audio stats
  17. * `mediaRelayStateChanged`, `receivedChannelMediaRelay`
  18. - new apis:
  19. * `switchChannel` switch to specified channel
  20. * `startChannelMediaRelay`, `updateChannelMediaRelay`, `stopChannelMediaRelay`, `removeChannelMediaRelay` relay media streams operation for across channels.
  21. #### 2.8.0-alpha.1
  22. - add `string uid` api support
  23. - android: deprecate `lowLatency` member of LiveTranscoding
  24. - add methods `getUserInfoByUserAccount`, `getUserInfoByUid`, `joinChannelWithUserAccount`, `registerLocalUserAccount`
  25. - add events `localUserRegistered`, `userInfoUpdated`
  26. - add `totalFrozenTime`, `frozenRate` to events `remoteVideoStats` & `remoteAudioStats`.
  27. - add `numChannels` & `receivedSampleRate` & `receivedBitrate` to `remoteAudioStats`
  28. - android: upgrade native sdk to 2.8.2
  29. - ios: upgrade native sdk to 2.8.0
  30. #### 2.4.1-alpha.3
  31. - refactor setLiveTranscoding: rename ios & android native parameters. export enum for javascript/typescript api.
  32. - fix negative number case in android platform.
  33. - improve api doc.
  34. #### 2.4.1-alpha.2
  35. - deprecated `sendMessage` & `createDataStream` & `removeAllListeners` & `off`
  36. - refactor event system
  37. - fix `android` enum convert failed.
  38. #### 2.4.1-alpha
  39. - support 2.4.1-alpha.1 agora video sdk android-2.4.1 / iOS-2.4.1
  40. 1. Deprecate iOS manual link operator, instead using cocoapods resolve compile dependencies.
  41. 2. Add methods getAudioMixingPlayoutVolume, getAudioMixingPublishVolume for audio mixing troubleshooting.
  42. 3. Add `txPacketLossRate`, `rxPacketLossRate` on `rtcStats` interface. usage: `RtcEngine.on('rtcStats', (data) => console.log(data))`.
  43. 4. Rename `receivedFrameRate` to `rendererOutputFrameRate` this property related on `localVideoStats` and `remoteVideoStats`.
  44. 5. Add event 'localVideoChanged' and Deprecate events `cameraReady` and `videoStopped`. You can listen `localVideoChanged` event instead `cameraReady` & `videoStopped`.
  45. 6. Add event `rtmpStreamingStateChanged` for rtmp streaming troubleshooting
  46. 7. Add event `audioCodecProfile` on `liveTranscoding` interface.
  47. 8. Add event `networkTypeChanged` for network troubleshooting.
  48. 9. Add method `registerMediaMetadataObserver` method, this method enables you to add synchronized metadata in the video stream for more diversified live broadcast interactions, such as sending shopping links, digital coupons, and online quizzes. note: Call this method before the joinChannel method. and applies to `channelProfile` with 1.
  49. 10. Add method `sendMediaData`, this method enables you send media data under the live broadcast mode (`channelProfile` = 1) note: call this method after the `registerMediaMetadataObserver` method.
  50. 11. Add event `audioMixingStateChanged` and Deprecate event 'localAudioMixingFinish`.
  51. 11. Add `firstRemoteAudioDecoded` event you can get more detail [here](https://docs.agora.io/en/Interactive%20Broadcast/release_android_video?platform=Android#v241)
  52. #### 2.4.0-alpha
  53. - support 2.4.0-alpha.1 agora video sdk android-2.4.0 / iOS-2.4.0.1 and add sendMessage support in the same channel. Deprecate: startEchoTest and setVideoQualityParameters
  54. - support 2.4.0-alpha.2 using 0.55.1 as peerDependency and support typescript
  55. - support 2.4.0-alpha.3 bugfix iOS receiveStreamMessage data is null
  56. - support 2.4.0-alpha.4 bugfix iOS videoSizeChanged field rotation typo
  57. - support 2.4.0-alpha.5 bugfix Android & iOS side not support fit mode and hidden mode.
  58. 1. Deprecate & Remove: setupLocalVideo & setupRemoteVideo
  59. 2. rename iOS side constants
  60. ```javascript
  61. "AgoraVideoMirrorModeAuto" to "VideoMirrorModeAuto"
  62. "AgoraVideoMirrorModeEnabled" to "VideoMirrorModeEnabled"
  63. "AgoraVideoMirrorModeDisabled" to "VideoMirrorModeDisabled"
  64. "AgoraChannelProfileCommunication" to "ChannelProfileCommunication"
  65. "AgoraChannelProfileLiveBroadcasting" to "ChannelProfileLiveBroadcasting"
  66. "AgoraChannelProfileGame" to "ChannelProfileGame"
  67. "AgoraVideoMode" to "VideoMode"
  68. "AgoraAudioMode" to "AudioMode"
  69. ```
  70. #### 2.3.3-alpha
  71. - support agora video sdk 2.3.3
  72. - release 2.3.3-alpha.3
  73. - release 2.3.3-alpha.4 (remove deprecated native api)
  74. - release 2.3.3-alpha.5 (refactor event react api & refactor native wrapper)
  75. - release 2.3.3-alpha.6 (refactor with typescript & fix. iOS platform binding bug)
  76. - release 2.3.3-alpha.7 (refactor RtcEngine#init method support audio / video mode and switch dualStream)
  77. #### 1.1.2
  78. - add onVideoMute
  79. - add onAudioMute
  80. #### 1.1.1
  81. - add createDataStream
  82. - add sendStreamMessage
  83. - add onStreamMessage
  84. #### 1.0.9
  85. - update to agora sdk version 2.0.2
  86. - add setCameraAutoFocusFaceModeEnabled
  87. - add setDefaultAudioRouteToSpeakerphone
  88. - add setCameraTorchOn
  89. - fix bug: Android speaker's volume indication
  90. #### 1.0.8
  91. - update to agora sdk version 1.12
  92. - init wouldn't start video preview. Should manually use startPreview.
  93. - init options add new boolean parameter `swapWidthAndHeight` to support swap width and height.
  94. - add configPublisher
  95. - add setLocalRenderMode
  96. - add setRemoteRenderMode
  97. - add enableAudioVolumeIndication
  98. - add onAudioVolumeIndication
  99. - add zOrderMediaOverlay for android platform, support media overlay