No Description

CHANGELOG 6.0KB

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