k-yle / rtsp-relay

📽 View an RTSP stream in your web browser using an express.js server
https://npm.im/rtsp-relay
MIT License
325 stars 59 forks source link

Video quality #224

Open PriyamDalwadii opened 1 year ago

PriyamDalwadii commented 1 year ago

How can I get same video quality as source? Apart from that ['q','1'] flag? What other factors affects the video streaming quality?

k-yle commented 1 year ago

You try lowering the bitrate (using the -b:v flag), but even in the best conditions, I don't think you can get better than 720p30. Theoretically 1080p15 could work, but the client-side can't decode any less than 30 fps at the moment.