-
Notifications
You must be signed in to change notification settings - Fork 60
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
TURN server configuration #16
Comments
Thanks for your interest. |
Thanks. I was able to configure the turn server in index.js. While webtrc works fine, the rtmp stream is pixelated. Is there some way to improve the video quality? |
The key idea is to modify the ffmpeg transcode command as listed in
https://github.com/godka/kurento-rtmp/blob/40598d2f3f5ce9c5d6873a34d4cda1eb7cb5c864/server.js#L354
https://github.com/godka/kurento-rtmp/blob/40598d2f3f5ce9c5d6873a34d4cda1eb7cb5c864/server.js#L354
You can change the encoding bitrate as you wish.
https://github.com/godka/kurento-rtmp/blob/40598d2f3f5ce9c5d6873a34d4cda1eb7cb5c864/server.js#L354
Tianchi Huang
… 在 2019年7月2日,19:17,SriramScorp ***@***.***> 写道:
Thanks. I was able to configure the turn server in index.js. While webtrc works fine, the rtmp stream is pixelated. Is there some way to improve the video quality?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
The ffmpeg command was my first suspect and I fiddled with it a little to change the bitrate and preset but that didn't help. I then suspected that the quality of video at the rtpendpoint, from which ffmpeg transcodes the streams, might be low (for my requirement). Using ffprobe, I confirmed that the rtp source had an aspect ratio of 640x480 and a fps of 25/1. So, I need to configure the quality of the video captured via webrtc. I tried increasing the video width and framerate in both kurento-utils.js and index.js without much success. Where can I set the mediaconstraints for getusermedia? |
How to configure the client to use a self-hosted turn server?
The text was updated successfully, but these errors were encountered: