deleolajide / red5-screenshare

An Open Source Screen Share Java application using Red5 RTMPClientare
24 stars 10 forks source link

Problem with a whole color pallet #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the screen Share
2. Share dark colors
3. See the result, it will absolutely not display anything, works marvelously 
on light colors and as soon as you get in more colors it completely stop 
updating blocks... my guess is the WriteShort function but 
i can't fix it...

What is the expected output? What do you see instead?
Same image as what is shared...

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by william....@gmail.com on 6 May 2010 at 4:16

GoogleCodeExporter commented 9 years ago
seams like it completly stop working if there is too much colors on the screen 
and it 
have quite a hard time getting back on track even tough several keyframes go 
trough...

Original comment by william....@gmail.com on 6 May 2010 at 6:12

Attachments:

GoogleCodeExporter commented 9 years ago
Here is the files for the problem i was talking about

i have found that by switching to red5 9.1 i do get the blacks and dark colors 
but no 
updates at all...

Original comment by william....@gmail.com on 7 May 2010 at 5:42

Attachments:

GoogleCodeExporter commented 9 years ago
update, after a while yours seams to work but when i compil it, it does not.. i 
guess 
it must be part of red5.jar which is not the same since i do not have the 
VideoData(byteBuffer) constructor but with the new Iobuffer from Mina 2

Original comment by william....@gmail.com on 10 May 2010 at 2:47

GoogleCodeExporter commented 9 years ago
Well IObuffer had a weird handling of the autoExpand feature and was getting 
buffer 
overRun on very dark picture and complex picture which would not compress has 
well, 
i've fixed that buy reAlocating a new buffer on each new image but i can't 
seams to get 
part 1 frame per second... the applet is able to get 20 frames at 50ms per 
frame but 
red5 stops the stream silently if i get pass 1 frame per second...

so i left it that way which seams quite unresponsive on text and well every 
demos...

Original comment by william....@gmail.com on 11 May 2010 at 8:42

GoogleCodeExporter commented 9 years ago
It works for me after doing this small change. The Iobuffer variable in 
pushVideo function is declared as a class variable. I changed this to local 
variable.

Original comment by akhil....@gmail.com on 9 Oct 2012 at 4:09