This message was deleted.
# helpdesk
s
This message was deleted.
f
hi SOAM Team, does the published resolution look low (can’t reach 1080p)?
I think I found the reason. when simulcast is disabled, the videoEncoding parameter is not passed correctly, so the sending bit rate cannot be as expected. Please try this branch, https://github.com/livekit/client-sdk-flutter/pull/270, I have submitted a fix, it should be able to publish 1080p 30fps correctly, and use the preset bitrate of 3mpbs. Commits for fixes. https://github.com/livekit/client-sdk-flutter/pull/270/commits/589a3ad4afd43b5cb600b1f8ac4f0ea46ac9550d
p
Hi @freezing-lifeguard-43174 , The problem described below : Android (publisher) -> any (subscriber) the video quality is excellent. iPhone X (publisher) -> any (subscriber) the video quality is low. Android in general works as expected (publisher/subscriber) but iPhone is not as (publisher)
f
Yes, this is related to the preset encoding maxBitRate not being set correctly(I reproduced it locally, set h1080p_169, but the published video is blurry, after fixing it will work as expected), can you try this branch and tell me the test results
p
I will @freezing-lifeguard-43174 and thanks for your immediate action!
Hi @freezing-lifeguard-43174, The setup dependencies are below:
#livekit_client: ^1.2.1
livekit_client:
git:
url: <https://github.com/livekit/client-sdk-flutter.git>
ref: chore/screen-share-capture-options
We still getting blurry video quality from the iPhone X
f
hey, can this issue be reproduced with client-sdk-flutter/example? i have an iphone x
p
We were viewing the video from the web browser The clear one from the Android (Nexus 6) and the blurry one from iOS (iPhone X)
f
oh no, This resolution is indeed very low, it looks like 192x144
p
The odd thing that Nexus 6 released on 2014 and doing better than iPhone X 🙂
f
Does the video get clearer when your phone camera is still for a while?
p
Not much just a little
f
Can you try to test with client-sdk-flutter/example? This is the video I posted with iPhone X and viewed with the macOS client
I can get clear and smooth video
p
I should try that out now and let you know
@freezing-lifeguard-43174 What is your camera settings in the iPhone X?
f
These steps ensure that the correct branch is updated
Copy code
flutter clean
rm -rf ios/Pods
rm -rf ios/Podfile.lock
flutter pub get
cd ios && pod repo update
I just changed the default resolution to h1080_169
p
defaultVideoPublishOptions: VideoPublishOptions( videoEncoding: VideoParametersPresets.h1080_169.encoding, simulcast: false, ), defaultCameraCaptureOptions: CameraCaptureOptions( cameraPosition: CameraPosition.back, params: VideoParametersPresets.h1080_169, ), Our configuration options
Hi @freezing-lifeguard-43174 We have tested the client-sdk-flutter/example and still getting blurry video quality.
f
ah, weird, can you provide more details, what is the downlink bitrate for the viewer when the video is blurry?
p
We are testing in local network using dev mode for the the livekit server and connecting to the server via wireless network (firewall disabled). The token is auto generated via the flutter app for testing.
With the Livekit Cloud same results
We will test using other iOS device and let you know about the results
Hi @freezing-lifeguard-43174 We have just tested publishing from iOS (iPhone 14 Pro Max) with your PR changes. The result was excellent 👍 and hopefully your PR will be merged soon! It seems the blurry video quality issue with iPhone X in general or the one that we are using during testing. Thanks for your help!