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

TURN server configuration #16

Open
SriramScorp opened this issue Jun 25, 2019 · 4 comments
Open

TURN server configuration #16

SriramScorp opened this issue Jun 25, 2019 · 4 comments

Comments

@SriramScorp
Copy link

How to configure the client to use a self-hosted turn server?

@godka
Copy link
Owner

godka commented Jun 25, 2019

Thanks for your interest.
Actually, I've forgotten how to configure the Turn server. But I think it can be configured like other kurento projects.

@SriramScorp
Copy link
Author

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?

@godka
Copy link
Owner

godka commented Jul 2, 2019 via email

@SriramScorp
Copy link
Author

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?

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