Skip to content

Commit

Permalink
Add optional specifier to playStream options
Browse files Browse the repository at this point in the history
  • Loading branch information
longnguyen2004 committed Feb 4, 2025
1 parent b3a3eb3 commit 933faec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,35 +182,35 @@ minimizeLatency?: boolean;
/**
* Set stream type as "Go Live" or camera stream
*/
type: "go-live" | "camera",
type?: "go-live" | "camera",

/**
* Override video width sent to Discord.
*
* DO NOT SPECIFY UNLESS YOU KNOW WHAT YOU'RE DOING!
*/
width: number,
width?: number,

/**
* Override video height sent to Discord.
*
* DO NOT SPECIFY UNLESS YOU KNOW WHAT YOU'RE DOING!
*/
height: number,
height?: number,

/**
* Override video frame rate sent to Discord.
*
* DO NOT SPECIFY UNLESS YOU KNOW WHAT YOU'RE DOING!
*/
frameRate: number,
frameRate?: number,

/**
* Same as ffmpeg's `readrate_initial_burst` command line flag
*
* See https://ffmpeg.org/ffmpeg.html#:~:text=%2Dreadrate_initial_burst
*/
readrateInitialBurst: number | undefined,
readrateInitialBurst?: number,
```

## Streamer options available
Expand Down

0 comments on commit 933faec

Please sign in to comment.