Skip to content

Commit

Permalink
Merge branch 'staging' of https://github.com/AgoraIO/Doc-Source-Private
Browse files Browse the repository at this point in the history
… into staging
  • Loading branch information
atovpeko committed Oct 26, 2023
2 parents 3b265d9 + 13d4f41 commit 7e69091
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion shared/extensions-marketplace/activefence/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ In order to configure <Vg k="RTEE_AF" />:
"contentId":"$contentId",
"reason":"$violationsCategories",
"metaData": "$metaData"
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@

1. **Apply `ContentInspectConfig` to your <Vg k="ENGINE"/> instance**.

Enable content inspect after joining a channel and after the local video is published and played.
Enable content inspect after joining a channel and after the local video is published and played. If you need support taking screenshots for multiple video streams and uploading them, use the `enableContentInspectEx` method.

```kotlin
val returnVal = agoraEngine?.enableContentInspect(true, contentInspectConfig)
val returnVal = agoraEngine?.enableContentInspectEx(enabled, config: config, connection: connection)
```

1. **Catch banning events**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@

1. **Apply `AgoraContentInspectConfig` to your <Vg k="ENGINE"/> instance**

Enable content inspect after joining a channel and after the local video is published and played.
Enable content inspect after joining a channel and after the local video is published and played. To support taking screenshots for multiple video streams and uploading them, use the `enableContentInspectEx` method.

```swift
self.agoraEngine.enableContentInspect(true, config: self.inspectConfig)
self.agoraEngine.enableContentInspectEx(enabled, config: config, connection: connection)
```

1. **Catch banning events**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

1. **Enable image moderation**

To enable `ImageModeration` in your app, call `setImageModeration` after the user joins a channel and the local video is published and played:
To enable `ImageModeration` in your app, call `setImageModeration` after the user joins a channel and the local video is published and played. If you use a string UID to join the channel and want to receive it in the webhook callback, pass the string UID as `YourExtraInfo` inside `setImageModeration`.

```javascript
agoraEngine
.setImageModeration(true, { interval: 1000 })
.setImageModeration(true,extraInfo: "YourExtraInfo",{ interval: 1000 })
.then((e) => console.log("!AF on", e));
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<PlatformWrapper platform="android">
- [Agora Content Inspect Moderation Showcase](https://github.com/AgoraIO-Community/Agora-ActiveFence-Android) sample <Vpl k="CLIENT" />
- [Multi-channel methods](https://api-ref.agora.io/en/video-sdk/android/4.x/API/class_irtcengineex.html)
</PlatformWrapper>

0 comments on commit 7e69091

Please sign in to comment.