Bez popisu

CHANGELOG 6.0KB

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