Skip to content

Commit

Permalink
update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nero-Hu committed Jul 15, 2024
1 parent df3641b commit d8a29be
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@
<stentry>现有回调</stentry>
</sthead>
<strow>
<stentry><codeph>onExtensionEvent</codeph></stentry>
<stentry><codeph props="cpp">onExtensionEvent</codeph><codeph props="apple android">onEvent</codeph></stentry>
<stentry><codeph><apiname keyref="onExtensionEventWithContext"/></codeph></stentry>
</strow>
<strow>
<stentry><codeph>onExtensionStarted</codeph></stentry>
<stentry><codeph props="apple cpp">onExtensionStarted</codeph><codeph props="android">onStarted</codeph></stentry>
<stentry><codeph><apiname keyref="onExtensionStartedWithContext"/></codeph></stentry>
</strow>
<strow>
<stentry><codeph>onExtensionStopped</codeph></stentry>
<stentry><codeph props="apple cpp">onExtensionStopped</codeph><codeph props="android">onStopped</codeph></stentry>
<stentry><codeph><apiname keyref="onExtensionStoppedWithContext"/></codeph></stentry>
</strow>
<strow>
<stentry><codeph>onExtensionError</codeph></stentry>
<stentry><codeph props="apple cpp">onExtensionError</codeph><codeph props="android">onError</codeph></stentry>
<stentry><codeph><apiname keyref="onExtensionErrorWithContext"/></codeph></stentry>
</strow>
</simpletable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ This version includes optimizations to some features, including changes to SDK b

| Original Callback | Current Callback |
| ------------------ | ---------------------- |
| `onExtensionEvent` | `onEventWithContext` |
| `onExtensionStarted` | `onStartedWithContext` |
| `onExtensionStopped` | `onStoppedWithContext` |
| `onExtensionError` | `onErrorWithContext` |
| `onEvent` | `onEventWithContext` |
| `onStarted` | `onStartedWithContext` |
| `onStopped` | `onStoppedWithContext` |
| `onError` | `onErrorWithContext` |

2. This version removes the `buffer`, `uid`, and `timeStampMs` parameters of the `onMetadataReceived` callback. You can get metadata-related information, including `timeStampMs` (timestamp of the sent data), `uid` (user ID), and `channelId` (channel name) through the newly-added `metadata` parameter.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This version includes optimizations to some features, including changes to SDK b

| Original Callback | Current Callback |
| ------------------ | ------------------------------- |
| `onExtensionEvent` | `onExtensionEventWithContext` |
| `onEvent` | `onExtensionEventWithContext` |
| `onExtensionStarted` | `onExtensionStartedWithContext` |
| `onExtensionStopped` | `onExtensionStoppedWithContext` |
| `onExtensionError` | `onExtensionErrorWithContext` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This version includes optimizations to some features, including changes to SDK b

| Original Callback | Current Callback |
| ------------------ | ------------------------------- |
| `onExtensionEvent` | `onExtensionEventWithContext` |
| `onEvent` | `onExtensionEventWithContext` |
| `onExtensionStarted` | `onExtensionStartedWithContext` |
| `onExtensionStopped` | `onExtensionStoppedWithContext` |
| `onExtensionError` | `onExtensionErrorWithContext` |
Expand Down

0 comments on commit d8a29be

Please sign in to comment.