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

远程看到的视频比较模糊,如何设置输出的视频分辨率呢 #563

Open
farsunset-com opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@farsunset-com
Copy link

    public static final LocalVideoTrackOptions CAMERA_VIDEO_OPTIONS  = new LocalVideoTrackOptions(false,
            "camera",
            CameraPosition.FRONT,
            new VideoCaptureParameter(VideoPreset169.H1080.getCapture().getHeight(),VideoPreset169.H1080.getCapture().getWidth(),VideoPreset169.H1080.getCapture().getMaxFps()));

    public static final VideoTrackPublishDefaults VIDEO_PUBLISH_DEFAULTS  = new VideoTrackPublishDefaults(VideoPreset169.H1080.getEncoding(),true, VideoCodec.AV1.getCodecName(),null,new BackupVideoCodec(), RtpParameters.DegradationPreference.BALANCED);

这样设置了依然不够清晰,还是局域网wifi情况下

@farsunset-com farsunset-com added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant