Skip to content

Commit

Permalink
Electron/RN: update proto
Browse files Browse the repository at this point in the history
  • Loading branch information
Nero-Hu committed Oct 11, 2024
1 parent 6c999df commit 8a9231a
Showing 1 changed file with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,23 @@
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintNativeEvent, Category = &quot;Agora|Event&quot;)
void OnStreamMessage(int64 uid, int streamId, const FString&amp; data, int length, int64 sentTs);</codeblock>
<codeblock props="electron" outputclass="language-typescript">onStreamMessage?(connection: RtcConnection, remoteUid: number, streamId: number, data: Uint8Array, length: number, sentTs: number): void;</codeblock>
<codeblock props="electron" outputclass="language-typescript">onStreamMessage?(
connection: RtcConnection,
remoteUid: number,
streamId: number,
data: Uint8Array,
length: number,
sentTs: number
): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnStreamMessage(RtcConnection connection, uint remoteUid, int streamId, byte[] data, uint length, UInt64 sentTs) { }</codeblock>
<codeblock props="rn" outputclass="language-typescript">onStreamMessage?(
connection: RtcConnection,
remoteUid: number,
streamId: number,
data: Uint8Array,
length: number,
sentTs: number
): void;</codeblock>
connection: RtcConnection,
remoteUid: number,
streamId: number,
data: Uint8Array,
length: number,
sentTs: number
): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(RtcConnection connection, int remoteUid, int streamId,
Uint8List data, int length, int sentTs)? onStreamMessage;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
Expand Down

0 comments on commit 8a9231a

Please sign in to comment.