So I ended up using: track?.mediaStreamTrack.getSettings()
I'm getting the frameRate and height.
But my question is, with the particular device I'm streaming from. It's height is 741px. But when I stream using discord. It shows 720p.
Is there some calculation going on, Or some other mechanism?
I tried to do some digging around but I couldn't come up with anything conclusive. Maybe you guys know?
Thanks
s
salmon-london-45375
02/07/2022, 4:57 PM
What do you mean by “stream using discord”?
d
dry-elephant-14928
02/07/2022, 4:58 PM
capture resolution is going to be device specific.. though it's strange that it's giving you 741 height.. are you specifying the desired resolution at all?