Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The video quality is blurry (pixelated), but it plays normally in VLC. How can I solve this issue? #732

Open
niuyang2020 opened this issue Nov 1, 2024 · 1 comment

Comments

@niuyang2020
Copy link

niuyang2020 commented Nov 1, 2024

The video quality is blurry (pixelated), but it plays normally in VLC. How can I solve this issue?
vue code:
this.webRtcServer = new WebRtcStreamer('video', location.protocol + '//127.0.0.1:8000')
var options = "rtptransport=tcp&timeout=60&width=1920&height=1080&width=320&height=240&bitrate=1200";
this.webRtcServer.connect('rtsp://rtspstream:[email protected]/movie', null, options, null)
1730440228602

@mpromonet
Copy link
Owner

Hi @niuyang2020

The options seems strange "rtptransport=tcp&timeout=60&width=1920&height=1080&width=320&height=240&bitrate=1200"
There is twice width & height, probably last are used... and you set bitrate to a low value, I guess you can try to remove bitrate option.

Best Regards,
Michel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants