Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.4.0 framework #3742

Merged
merged 43 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8ba650e
unity proto 1/3
Suri539 Aug 9, 2024
3a4a21a
unity proto 2/3
Suri539 Aug 9, 2024
21641ba
unity proto 3/3
Suri539 Aug 9, 2024
8f0de3d
unity maps
Suri539 Aug 9, 2024
1929a6b
rename
Suri539 Aug 9, 2024
ddadbe4
1
jinyuagora Aug 14, 2024
2ce2fc3
Update class_videoframe.dita
jinyuagora Aug 14, 2024
8c910b7
Update class_externalvideoframe.dita
jinyuagora Aug 14, 2024
10ccb04
Update class_advanceoptions.dita
jinyuagora Aug 14, 2024
2a79342
1
jinyuagora Aug 14, 2024
a2f1cb3
-
jinyuagora Aug 14, 2024
2657603
hh batch 1
Nero-Hu Aug 14, 2024
a79836a
hh 2/3
Nero-Hu Aug 14, 2024
59a44a8
Update rtc_api_data_type.dita
jinyuagora Aug 14, 2024
11581d3
Merge pull request #3736 from AgoraIO/4.4.0-hhh
Cilla-luodan Aug 14, 2024
a01560e
add prototypes
Cilla-luodan Aug 14, 2024
69a4c95
1
jinyuagora Aug 14, 2024
e33842e
-
jinyuagora Aug 14, 2024
348c761
update
Suri539 Aug 14, 2024
6199ecf
Update class_videoframe.dita
Suri539 Aug 14, 2024
53368aa
update
Suri539 Aug 14, 2024
d00b682
Revert "update"
Suri539 Aug 14, 2024
a4727e6
delete deprecated methods
Suri539 Aug 14, 2024
0fb9445
temp
Cilla-luodan Aug 14, 2024
908b023
1
Cilla-luodan Aug 14, 2024
f3bfa6b
fix error
Suri539 Aug 14, 2024
5a5db99
1
Cilla-luodan Aug 15, 2024
9f5eec9
-
jinyuagora Aug 15, 2024
a114d4f
Merge pull request #3737 from AgoraIO/4.4.0-jjj
jinyuagora Aug 15, 2024
be233bb
Update class_videoframe.dita
Suri539 Aug 15, 2024
c6118e1
fix props
Suri539 Aug 15, 2024
5c03586
Merge pull request #3740 from AgoraIO/4.4.0-framework-unity
Suri539 Aug 15, 2024
8fcc891
review comments
Cilla-luodan Aug 15, 2024
cb56800
1
Cilla-luodan Aug 15, 2024
105c1b2
Merge pull request #3739 from AgoraIO/4.4.0-electronplusrn
Cilla-luodan Aug 15, 2024
d93ba33
Update class_externalvideoframe.dita
Suri539 Aug 15, 2024
67f1dc4
-
jinyuagora Aug 15, 2024
01306d1
delete
Suri539 Aug 15, 2024
e7ce0d5
Merge branch '4.4.0-framework' of github.com:AgoraIO/agora_doc_source…
Suri539 Aug 15, 2024
723380c
fix publish errros
Cilla-luodan Aug 15, 2024
96a1d28
Merge branch '4.4.0-framework' of github.com:AgoraIO/agora_doc_source…
Cilla-luodan Aug 15, 2024
28564df
-
jinyuagora Aug 15, 2024
bb37e02
1
jinyuagora Aug 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)destroyMusicPlayer:(id&lt;AgoraMusicPlayerProtocol>)musicPlayer;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int destroyMusicPlayer(agora_refptr&lt;IMusicPlayer> music_player) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp"/>
<codeblock props="electron" outputclass="language-typescript"/>
<codeblock props="unity cs" outputclass="language-csharp"/>
<codeblock props="rn" outputclass="language-typescript"/>
<codeblock props="flutter" outputclass="language-dart"/> </p>
<codeblock props="electron" outputclass="language-typescript">abstract destroyMusicPlayer(musicPlayer: IMusicPlayer): number;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract int DestroyMusicPlayer(IMusicPlayer music_player);</codeblock>
<codeblock props="rn" outputclass="language-typescript">abstract destroyMusicPlayer(musicPlayer: IMusicPlayer): number;</codeblock>
<codeblock props="flutter" outputclass="language-dart">Future&lt;void&gt; destroyMusicPlayer(MusicPlayer musicPlayer);</codeblock> </p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
<dl outputclass="since">
Expand All @@ -44,9 +44,9 @@
<parml>
<plentry>
<pt props="android">player</pt>
<pt props="apple">musicPlayer</pt>
<pt props="cpp">music_player</pt>
<pd props="apple android"><xref keyref="IMusicPlayer"/> 对象。</pd>
<pt props="apple rn electron flutter">musicPlayer</pt>
<pt props="cpp unreal unity cs bp">music_player</pt>
<pd props="apple android framework"><xref keyref="IMusicPlayer"/> 对象。</pd>
<pd props="cpp">指向 <xref keyref="IMusicPlayer"/> 对象的指针。</pd>
</plentry>
</parml> </section>
Expand Down
8 changes: 4 additions & 4 deletions dita/RTC-NG/API/api_imusicplayer_setplaymode.dita
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)setPlayMode:(AgoraMusicPlayMode)mode NS_SWIFT_NAME(setPlayMode(mode:));</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int setPlayMode(MusicPlayMode mode) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp"/>
<codeblock props="electron" outputclass="language-typescript"/>
<codeblock props="unity cs" outputclass="language-csharp"/>
<codeblock props="rn" outputclass="language-typescript"/>
<codeblock props="flutter" outputclass="language-dart"/> </p>
<codeblock props="electron" outputclass="language-typescript">abstract setPlayMode(mode: MusicPlayMode): number;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract int SetPlayMode(MusicPlayMode mode);</codeblock>
<codeblock props="rn" outputclass="language-typescript">abstract setPlayMode(mode: MusicPlayMode): number;</codeblock>
<codeblock props="flutter" outputclass="language-dart">Future&lt;void&gt; setPlayMode(MusicPlayMode mode);</codeblock> </p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
<dl outputclass="since">
Expand Down
9 changes: 5 additions & 4 deletions dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
<codeblock props="ios mac" outputclass="language-objectivec">- (int)enableVoiceAITuner:(bool)enabled type:(AgoraVoiceAITunerType)type NS_SWIFT_NAME(enableVoiceAITuner(_:type:));</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableVoiceAITuner(bool enabled, VOICE_AI_TUNER_TYPE type) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp"/>
<codeblock props="electron" outputclass="language-typescript"/>
<codeblock props="unity cs" outputclass="language-csharp"/>
<codeblock props="rn" outputclass="language-typescript"/>
<codeblock props="flutter" outputclass="language-dart"/> </p>
<codeblock props="electron" outputclass="language-typescript">abstract enableVoiceAITuner(enabled: boolean, type: VoiceAiTunerType): number;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract int EnableVoiceAITuner(bool enabled, VOICE_AI_TUNER_TYPE type);</codeblock>
<codeblock props="rn" outputclass="language-typescript">abstract enableVoiceAITuner(enabled: boolean, type: VoiceAiTunerType): number;</codeblock>
<codeblock props="flutter" outputclass="language-dart">Future&lt;void&gt; enableVoiceAITuner(
{required bool enabled, required VoiceAiTunerType type});</codeblock> </p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
<dl outputclass="since">
Expand Down
5 changes: 3 additions & 2 deletions dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
<p>初始化本地用户视图后,你可以调用该方法更新本地用户视图的渲染和镜像模式。该方法只影响本地用户看到的视频画面,不影响本地视频的发布。</p>
</section>
<section id="timing" deliveryTarget="details">
<title><ph props="native unreal bp electron rn flutter">调用时机</ph></title>
<ul props="native unreal bp electron rn flutter"><li>请在调用 <xref keyref="setupLocalVideo" /> 方法初始化本地视图后,调用该方法。</li>
<title>调用时机</title>
<ul>
<li props="native unreal bp electron unity flutter">请在调用 <xref keyref="setupLocalVideo" /> 方法初始化本地视图后,调用该方法。</li>
<li>你可以在通话中多次调用该方法,多次更新本地用户视图的显示模式。</li></ul>
</section>
<section id="restriction" deliveryTarget="details">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,19 @@
(void)message;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnExtensionError, FString, provider, FString, extension, int, error, FString, message);</codeblock>
<codeblock props="electron" outputclass="language-typescript">onExtensionError?(
provider: string,
extension: string,
<codeblock props="electron" outputclass="language-typescript">onExtensionErrorWithContext?(
context: ExtensionContext,
error: number,
message: string
): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionError(string provider, string extension, int error, string message) { }</codeblock>
<codeblock props="rn" outputclass="language-typescript">onExtensionError?(
provider: string,
extension: string,
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionErrorWithContext(ExtensionContext context, int error, string message){}</codeblock>
<codeblock props="rn" outputclass="language-typescript">onExtensionErrorWithContext?(
context: ExtensionContext,
error: number,
message: string
): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(
String provider, String extension, int error, String message)?
onExtensionError;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(ExtensionContext context, int error, String message)?
onExtensionErrorWithContext;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc">
Expand All @@ -49,18 +46,10 @@
<title>参数</title>
<parml>
<plentry id="context">
<pt props="cpp apple">context</pt>
<pt props="cpp apple framework">context</pt>
<pt props="android">extContext</pt>
<pd>插件上下文信息,详见 <xref keyref="ExtensionContext"/>。</pd>
</plentry>
<plentry conkeyref="setExtensionProperty/vendor" props="framework">
<pt />
<pd />
</plentry>
<plentry props="framework">
<pt>extension</pt>
<pd>插件的名称。</pd>
</plentry>
<plentry>
<pt>error</pt>
<pd>错误码。详见插件服务商提供的插件文档。</pd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,19 @@
(void)value;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnExtensionEvent, FString, provider, FString, extension, FString, key, FString, value);</codeblock>
<codeblock props="electron" outputclass="language-typescript"> onExtensionEvent?(
provider: string,
extension: string,
<codeblock props="electron" outputclass="language-typescript">onExtensionEventWithContext?(
context: ExtensionContext,
key: string,
value: string
): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionEvent(string provider, string extension, string key, string value) { }</codeblock>
<codeblock props="rn" outputclass="language-typescript"> onExtensionEvent?(
provider: string,
extension: string,
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionEventWithContext(ExtensionContext context, string key, string value){}</codeblock>
<codeblock props="rn" outputclass="language-typescript">onExtensionEventWithContext?(
context: ExtensionContext,
key: string,
value: string
): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(
String provider, String extName, String key, String value)?
onExtensionEvent;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(ExtensionContext context, String key, String value)?
onExtensionEventWithContext;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc">
Expand All @@ -52,15 +49,6 @@
<pt />
<pd />
</plentry>
<plentry conkeyref="setExtensionProperty/vendor" props="framework">
<pt />
<pd />
</plentry>
<plentry id="extension">
<pt props="unreal bp unity electron rn cs">extension</pt>
<pt props="flutter">extName</pt>
<pd>插件名称。</pd>
</plentry>
<plentry conkeyref="setExtensionProperty/key">
<pt />
<pd />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
(void)context;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStarted, FString, provider, FString, extension);</codeblock>
<codeblock props="electron" outputclass="language-typescript"> onExtensionStarted?(provider: string, extension: string): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionStarted(string provider, string extension) { }</codeblock>
<codeblock props="rn" outputclass="language-typescript"> onExtensionStarted?(provider: string, extension: string): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(String provider, String extName)? onExtensionStarted;</codeblock>
<codeblock props="electron" outputclass="language-typescript">onExtensionStartedWithContext?(context: ExtensionContext): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionEventWithContext(ExtensionContext context, string key, string value){ }</codeblock>
<codeblock props="rn" outputclass="language-typescript">onExtensionStartedWithContext?(context: ExtensionContext): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(ExtensionContext context)? onExtensionStartedWithContext;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc">
Expand All @@ -36,15 +36,6 @@
<pt />
<pd />
</plentry>
<plentry conkeyref="setExtensionProperty/vendor" props="framework">
<pt />
<pd />
</plentry>
<plentry props="framework">
<pt props="unreal bp unity electron rn cs">extension</pt>
<pt props="flutter">extName</pt>
<pd>插件名称。</pd>
</plentry>
</parml> </section>
</refbody>
</reference>
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
(void)context;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStopped, FString, provider, FString, extension);</codeblock>
<codeblock props="electron" outputclass="language-typescript"> onExtensionStopped?(provider: string, extension: string): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionStopped(string provider, string extension) { }</codeblock>
<codeblock props="rn" outputclass="language-typescript"> onExtensionStopped?(provider: string, extension: string): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(String provider, String extName)? onExtensionStopped;</codeblock>
<codeblock props="electron" outputclass="language-typescript">onExtensionStoppedWithContext?(context: ExtensionContext): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionStoppedWithContext(ExtensionContext context){ }</codeblock>
<codeblock props="rn" outputclass="language-typescript">onExtensionStoppedWithContext?(context: ExtensionContext): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(ExtensionContext context)? onExtensionStoppedWithContext;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc">
Expand All @@ -36,14 +36,6 @@
<pt />
<pd />
</plentry>
<plentry conkeyref="setExtensionProperty/vendor" props="framework">
<pt />
<pd />
</plentry>
<plentry conkeyref="onExtensionEventWithContext/extension" props="framework">
<pt />
<pd />
</plentry>
</parml> </section>
</refbody>
</reference>
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
</section>
<section id="timing" deliveryTarget="details">
<title>触发时机</title>
<p props="android cpp cs apple unity unreal">当你调用 <xref keyref="joinChannel1"/>、<xref keyref="joinChannel2"/>、<xref keyref="joinChannelWithUserAccount1"/>、<xref keyref="joinChannelWithUserAccount2"/>、 <xref keyref="joinChannelEx"/> 或 <xref keyref="joinChannelWithUserAccountEx"/> 方法成功加入频道后,SDK 会触发该回调。</p>
<p props="android cpp cs apple unreal">当你调用 <xref keyref="joinChannel1"/>、<xref keyref="joinChannel2"/>、<xref keyref="joinChannelWithUserAccount1"/>、<xref keyref="joinChannelWithUserAccount2"/>、 <xref keyref="joinChannelEx"/> 或 <xref keyref="joinChannelWithUserAccountEx"/> 方法成功加入频道后,SDK 会触发该回调。</p>
<p props="unity">当你调用 <xref keyref="joinChannel1"/>、<xref keyref="joinChannel2"/>、<xref keyref="joinChannelWithUserAccount1"/>、<xref keyref="joinChannelWithUserAccount2"/>、 <xref keyref="joinChannelEx"/> 方法成功加入频道后,SDK 会触发该回调。</p>
<p props="bp electron flutter rn">当你调用 <xref keyref="joinChannel2"/>、<xref keyref="joinChannelWithUserAccount2"/>、 <xref keyref="joinChannelEx"/> 或 <xref keyref="joinChannelWithUserAccountEx"/> 方法成功加入频道后,SDK 会触发该回调。</p>
<p props="hmos">当你调用 <xref keyref="joinChannel1"/>、<xref keyref="joinChannel2"/> 或 <xref keyref="joinChannelEx"/> 方法成功加入频道后,SDK 会触发该回调。</p>
</section>
Expand Down Expand Up @@ -70,4 +71,4 @@
</plentry>
</parml> </section>
</refbody>
</reference>
</reference>
Loading
Loading