Skip to content

Commit

Permalink
Merge pull request #3421 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
Browse files Browse the repository at this point in the history
…1700639574
  • Loading branch information
github-actions[bot] authored Nov 22, 2023
2 parents bebc86e + 947ed16 commit 8c8f411
Show file tree
Hide file tree
Showing 12 changed files with 478 additions and 482 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public void onLocalAudioStateChanged(int state, int reason) {}</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
localAudioStateChanged:(AgoraAudioLocalState)state error:(AgoraAudioLocalError)error;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error) {
<codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localAudioStateChanged:(AgoraAudioLocalState)state reason:(AgoraAudioLocalReason)reason NS_SWIFT_NAME(rtcEngine(_:localAudioStateChanged:reason:));</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp"> virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_REASON reason) {
(void)state;
(void)error;
}</codeblock>
(void)reason;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnLocalAudioStateChanged, ELOCAL_AUDIO_STREAM_STATE, state, ELOCAL_AUDIO_STREAM_ERROR, error);</codeblock>
<codeblock props="electron" outputclass="language-typescript"> onLocalAudioStateChanged?(
connection: RtcConnection,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public void onLocalVideoStateChanged(Constants.VideoSourceType source, int state, int reason) {}
</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStateChangedOfState:(AgoraVideoLocalState)state
error:(AgoraLocalVideoStreamError)error
sourceType:(AgoraVideoSourceType)sourceType;
<codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStateChangedOfState:(AgoraVideoLocalState)state reason:(AgoraLocalVideoStreamReason)reason sourceType:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(rtcEngine(_:localVideoStateChangedOf:reason:sourceType:));
</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR error) {
<codeblock props="cpp unreal" outputclass="language-cpp"> virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_REASON reason) {
(void)source;
(void)state;
(void)error;
}
</codeblock>
(void)reason;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnLocalVideoStateChanged, EVIDEO_SOURCE_TYPE, source, ELOCAL_VIDEO_STREAM_STATE, state, ELOCAL_VIDEO_STREAM_ERROR, error);</codeblock>
<codeblock props="electron" outputclass="language-typescript">onLocalVideoStateChanged?(
source: VideoSourceType,
Expand Down
120 changes: 60 additions & 60 deletions en-US/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -8567,87 +8567,87 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR" href="../API/enum_localaudiostreamerror.dita">
<keydef keys="LOCAL_AUDIO_STREAM_REASON" href="../API/enum_localaudiostreamreason.dita">
<topicmeta>
<keywords>
<keyword>ELOCAL_AUDIO_STREAM_ERROR</keyword>
<keyword>ELOCAL_AUDIO_STREAM_REASON</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_OK">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_OK">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_OK</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_OK</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_FAILURE">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_FAILURE">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_FAILURE</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_FAILURE</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_RECORD_FAILURE">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_RECORD_FAILURE</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_ENCODE_FAILURE">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_ENCODE_FAILURE</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_NO_RECORDING_DEVICE">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_NO_RECORDING_DEVICE</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_NO_PLAYOUT_DEVICE">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_NO_PLAYOUT_DEVICE</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_INTERRUPTED">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_INTERRUPTED">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_INTERRUPTED</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_INTERRUPTED</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_RECORD_INVALID_ID">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_RECORD_INVALID_ID</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_AUDIO_STREAM_ERROR_PLAYOUT_INVALID_ID">
<keydef keys="LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID">
<topicmeta>
<keywords>
<keyword>LOCAL_AUDIO_STREAM_ERROR_PLAYOUT_INVALID_ID</keyword>
<keyword>LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down Expand Up @@ -8707,129 +8707,129 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR" href="../API/enum_localvideostreamerror.dita">
<keydef keys="LOCAL_VIDEO_STREAM_REASON" href="../API/enum_localvideostreamreason.dita">
<topicmeta>
<keywords>
<keyword>ELOCAL_VIDEO_STREAM_ERROR</keyword>
<keyword>ELOCAL_VIDEO_STREAM_REASON</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_OK">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_OK">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_OK</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_OK</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_FAILURE">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_FAILURE">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_FAILURE</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_FAILURE</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_DEVICE_NO_PERMISSION">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_DEVICE_NO_PERMISSION</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_DEVICE_BUSY">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_DEVICE_BUSY</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_ENCODE_FAILURE">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_ENCODE_FAILURE">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_ENCODE_FAILURE</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_ENCODE_FAILURE</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_CAPTURE_INBACKGROUND">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_CAPTURE_INBACKGROUND</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_CAPTURE_MULTIPLE_FOREGROUND_APPS">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_CAPTURE_MULTIPLE_FOREGROUND_APPS</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_DEVICE_NOT_FOUND">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_DEVICE_NOT_FOUND</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_DEVICE_DISCONNECTED">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_DEVICE_DISCONNECTED</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_DEVICE_INVALID_ID">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_DEVICE_INVALID_ID</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_MINIMIZED">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_MINIMIZED</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_CLOSED">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_CLOSED</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_OCCLUDED">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_OCCLUDED</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_FAILURE">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_FAILURE</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_DEVICE_SYSTEM_PRESSURE">
<keydef keys="LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE">
<topicmeta>
<keywords>
<keyword>LOCAL_VIDEO_STREAM_ERROR_DEVICE_SYSTEM_PRESSURE</keyword>
<keyword>LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down
Loading

0 comments on commit 8c8f411

Please sign in to comment.