Skip to content

Commit

Permalink
update to vp9
Browse files Browse the repository at this point in the history
  • Loading branch information
Kishan-Dhakan committed Oct 20, 2023
1 parent dbe14a2 commit d18d995
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Integrate the virtual background extension, and implement the virtual background

```typescript
// Create a client object
var client = AgoraRTC.createClient({mode: "rtc", codec: "vp8"});
var client = AgoraRTC.createClient({mode: "rtc", codec: "vp9"});
// Create a VirtualBackgroundExtension instance
const extension = new VirtualBackgroundExtension();
// Check browser compatibility virtual background extension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import AgoraRTC from "agora-rtc-sdk-ng";
import VirtualBackgroundExtension from "agora-extension-virtual-background";

// Create a client object
var client = AgoraRTC.createClient({mode: "rtc", codec: "vp8"});
var client = AgoraRTC.createClient({mode: "rtc", codec: "vp9"});
// Create a VirtualBackgroundExtension instance
const extension = new VirtualBackgroundExtension();
// Register the extension
Expand Down
2 changes: 1 addition & 1 deletion shared/media-pull/reference/_release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ The changes for earlier releases include adding support for the following:
- Streaming encapsulation formats: FLV, MP4, MPEG-TS, Matroska (MKV), MP3.
- Playback scheduling. Set the start time of playing online media streams to schedule playback.
- Restricted access area. Specify the region where the online media stream is played in the request, to ensure the transmission quality of the media stream.
- On-demand stream loop playback.
- On-demand stream loop playback.

0 comments on commit d18d995

Please sign in to comment.