Keine Beschreibung

CHANGELOG 5.8KB

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