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.

Loss of image quality during broadcast

See original GitHub issue

I use part of the Pedro code, When the broadcast starts, after a while (seconds 5-10) the image starts to deteriorate, pixels appear 😦

I use the following parameters: bitRate - 1200 * 1024 iFrameInterval - 2 FPS - 30

The source code of class rRTMP.java [https://pastebin.com/r3CWNXjY] (https://pastebin.com/r3CWNXjY)

in the main class I begin the translation as follows

                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
                    rrtmp.prepare(width, height); // width, height
                    rrtmp.start(MainActivity.this, "rtmp://192.168.0.1:8080/live/dotnet");
                }

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
pedroSG94commented, Apr 27, 2018

I can’t test that code so I only can recommend you: 1 - Increase bitrate. 2 - Make sure that your decoder is not the problem (If image deteriorate in preview with that code and with decoder only then it is decoder problem).

0reactions
rkoshticommented, May 25, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Improve Live Streaming Quality in 8 Steps (2022 Update)
Research shows that professional broadcasters risk losing up to 25% of their revenue when the quality of their streams is less than desirable....
Read more >
Low res. image at start of recording | OBS Forums
Yes, this will happen if you mostly record still images. CBR always produces the given bandwidth, even if nothing is changed. It bloats...
Read more >
How To Fix Your Blurry Stream With OBS Studio ... - YouTube
Are you struggling with a blurry or poor quality stream ? Don't worry, in this video I will explain how to fix that...
Read more >
TV Troubleshooting: How to fix poor picture quality / pixelation
Learn how to fix poor picture quality issues such as pixelation with these troubleshooting tips. Poor TV picture may be caused by cable...
Read more >
Image quality way worse when moving camera : r/Twitch
So i'm streaming 720p @ 60fps with 6000kbps. However, when i'm moving the screen (or when stuff on the screen moves a lot),...
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