question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mobile completely ignores local streaming video quality changes

See original GitHub issue

Description:

when I try to change this file and set in createLocalTracksF different constraints for createLocalTracks it does’t work. Whatever resolution and constraints i set it always stream the same quality video without any changes.

Steps to reproduce:

go to this file change constraints in createLocalTracks to

{
              video: {
                aspectRatio: 16 / 9,
                height: {
                    ideal: 480,
                    max: 480,
                    min: 480
                }
              }
} 

Run Android sample project streaming video quality didn’t change Then do the change in the same file to

{
              video: {
                aspectRatio: 16 / 9,
                height: {
                    ideal: 1080,
                    max: 1080,
                    min: 1080
                }
              }
} 

Run again Android sample project streaming video quality still remain the same. No effect at all.

Expected behavior:

local video streaming quality must change depending on constraints set in createLocalTracks

Actual behavior:

local video streaming quality never change whatever constraints is set

Server information:

https://meet.jit.si/

Client information:

Android 10

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

0reactions
saghulcommented, Feb 5, 2021

Sorry, I don’t have the time to walk you through the codebase, I know it’s not straightforward, so I’m sorry for that.

Note that there are 2 things here: the sending and receiving. The receiving is applied just fine, and the sending is indeed not being applied to RN in that function, but that’s ok because we open the camera at 360p already so there is nothing to apply.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change Video Quality Playback Settings in Streaming Apps ...
Tap your profile picture. Tap Settings. Tap Video quality preferences. Select your preferred video quality for mobile networks and on wi-fi: ...
Read more >
Why does my stream and recordings get fuzzy/pixelated?
No, changing the canvas resolution will do you no good. If you wanted to run a top-quality 720p stream, you would need to...
Read more >
Activate HD video streaming | T-Mobile Support
Activating HD video resolution only provides the ability to view higher resolution video streams by turning off video optimization. It doesn't change the...
Read more >
[Nord 2] Video freezes in Chrome, audio & captions continue
I mostly experience this issue while using Chrome to view high-resolution videos embedded in my timeline on Facebook; I think I've also seen...
Read more >
Media Capture and Streams - W3C
This document defines a set of JavaScript APIs that allow local media, including audio and video, to be requested from a platform.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found