iOS Drop in Video Resolution

154 views
Skip to first unread message

Vishal Dalsania

unread,
Oct 3, 2019, 9:26:40 AM10/3/19
to discuss-webrtc
I am trying to screencast from iOS using webrtc.

It is working good so far but my video resolution is half of what it should be and i see below log.

(video_adapter.cc:247): Frame size changed: scaled 10 / out 10 / in 10 Changes: 1 Input: 750x1334 Scale: 1/2 Output: 372x664 fps: 60/30

Is it possible to stop scaling down video size?

Thanks,
Vishal

Vishal Dalsania

unread,
Oct 4, 2019, 11:29:12 AM10/4/19
to discuss-webrtc
If i set MediaConstraint, will it guarantee of not reducing the width and height from minimum values ?

Neil Young

unread,
Oct 4, 2019, 11:38:16 AM10/4/19
to discuss...@googlegroups.com
No

Sent from my iPhone


Am 04.10.2019 um 17:29 schrieb Vishal Dalsania <vishalr...@gmail.com>:


--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/cbb3f6b1-25f7-43ea-934e-ca0552d57356%40googlegroups.com.

Vishal Dalsania

unread,
Oct 4, 2019, 11:42:54 AM10/4/19
to discuss-webrtc
Thank you for replying Neil.

So there is no way to guarantee a minimum width x height video by sacrificing FPS i.e. if i accept lower FPS to lowest quality i will still have to sacrifice on resolution?

What if i change video_adapter.cc and make changes to not to scale down video and only scale down FPS, will that work ?

On Friday, October 4, 2019 at 9:08:16 PM UTC+5:30, Neil Young wrote:
No

Sent from my iPhone


Am 04.10.2019 um 17:29 schrieb Vishal Dalsania <vishalr...@gmail.com>:


If i set MediaConstraint, will it guarantee of not reducing the width and height from minimum values ?

On Thursday, October 3, 2019 at 6:56:40 PM UTC+5:30, Vishal Dalsania wrote:
I am trying to screencast from iOS using webrtc.

It is working good so far but my video resolution is half of what it should be and i see below log.

(video_adapter.cc:247): Frame size changed: scaled 10 / out 10 / in 10 Changes: 1 Input: 750x1334 Scale: 1/2 Output: 372x664 fps: 60/30

Is it possible to stop scaling down video size?

Thanks,
Vishal

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss...@googlegroups.com.

Neil Young

unread,
Oct 4, 2019, 11:44:21 AM10/4/19
to discuss...@googlegroups.com

You could try

To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/f1234b32-68da-41e1-a53b-cda8b743540e%40googlegroups.com.
--
Sent from my iPhone

Vishal Dalsania

unread,
Oct 8, 2019, 7:05:41 AM10/8/19
to discuss-webrtc
I am able to figure out that iOS code by default have MAINTAIN_FRAMERATE as quality degradation option enabled.

I could not find any way to set screencast to true which enables MAINTAIN_RESOLUTION instead of MAINTAIN_FRAMERATE

Also my framerate is also set to 60 and there is no way to change max framerate to something lower like 30 or 20 which can help me get acceptable resolution.

I am screen casting from iOS and it give me 1/6th resolution and i can barely read anything.

Any help ?

You could try

Reply all
Reply to author
Forward
0 new messages