updated patch to reference new discord API
This commit is contained in:
parent
c9b1c6592c
commit
5d3cf70722
1 changed files with 5 additions and 3 deletions
|
@ -88,12 +88,14 @@ addPatch({
|
|||
bitrateMax: 8000000,
|
||||
bitrateTarget: 600000
|
||||
});
|
||||
// I DONT KNOW WHY THIS HAS TO BE HERE BUT WITHOUT IT NOTHING WORKS RIGHT ( BITRATE GETS SET TO 4000KBPS )
|
||||
Object.assign(opts.encode, {
|
||||
framerate,
|
||||
pixelCount: height * width
|
||||
});
|
||||
Object.assign(opts.capture, {
|
||||
framerate,
|
||||
width,
|
||||
height,
|
||||
pixelCount: height * width
|
||||
height
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Reference in a new issue