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

【iOS】-【Set image quality for viewers】 #413

Open
anhntsi opened this issue May 19, 2021 · 4 comments
Open

【iOS】-【Set image quality for viewers】 #413

anhntsi opened this issue May 19, 2021 · 4 comments

Comments

@anhntsi
Copy link

anhntsi commented May 19, 2021

Hi,

I have question about setting image quality: https://intl.cloud.tencent.com/document/product/647/35153. I understand, TRTCSDK only support to setting image quality for anchor.

How to setting image quality for viewers?

@anhntsi anhntsi changed the title 【iOS】-【6.5.7272】【Set image quality for viewers】 【iOS】-【Set image quality for viewers】 May 19, 2021
@Tencent-Alice
Copy link

Hi ,If you have some questions,you can ask me
q2562367495

@anhntsi
Copy link
Author

anhntsi commented May 19, 2021

Do you can answer above question?
How to contact with me?

@Tencent-Alice
Copy link

Hi,you can use this parameter to set images quality for viewers - ->> "setVideoEncoderParam()"
You can refer to this doc in this link:
http://doc.qcloudtrtc.com/group__TRTCCloud__ios.html#a57938e5b62303d705da2ceecf119d74e

@anhntsi
Copy link
Author

anhntsi commented May 19, 2021

@Tencent-Alice Yes, this is my code to set image quality:

let videoEncParam = TRTCVideoEncParam()
videoEncParam.videoResolution = TRTCVideoResolution._640_360
videoEncParam.videoBitrate = 900
videoEncParam.videoFps = 15
TRTCCloud.sharedInstance()?.setVideoEncoderParam(videoEncParam)

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