Closed swj369451 closed 5 months ago
Hi @swj369451
What is invalid ? It may depends on the source. If you describe your problem you may get better informations.
Best Regards, Michel.
I want to modify the quality of the output video to reduce the bandwidth. I see the option parameter.But I don't know what specific parameters can be configured to reduce the image quality. thank you for answering my question.
Hi,
I guess you should use something like "&options=" + encodeURIComponent("width=320&height=240")
Best Regards, Michel.
Hi, I configured option, but it didn't work, the resolution didn't change
thank you for answering my question.
Hi,
If you are using '-o' to forward encoded packet, the resolution cannot be changed.
Best Regards, Michel.
I didn't use "-o"
webrtc-streamer.exe -H 127.0.0.1:9001 -C config.json -Sxxx.xxx.xxx.xxx:3478 -Ttest:123@xxx.xxx.xxx.xxx:3478
thank you for answering my question.
Hi,
I guess you have already open the backend stream, and then the resolution is decided by the first stream. You could check with admin.html page. I pushed https://github.com/mpromonet/webrtc-streamer/commit/670560e63c79a8151e8d4dba1944e33918901860 to separate rtsp stream when backend resolution is set.
To reduce bandwith you could try "bitrate" option.
Best Regards, Michel.
It is invalid。callurl += "&options=" + encodeURIComponent({"width":"320","height":"240"}); I received the stream is frameWidth | 704 frameHeight | 576