Project-Lightspeed icon indicating copy to clipboard operation
Project-Lightspeed copied to clipboard

Cool Project But it has 2 or 3 issues that I encountered

Open popcorn9499 opened this issue 4 years ago • 17 comments

I followed the instructions on the docker-compose setup.

My first Issue I noticed was stuttering in the video. It didn't happen all the time but it was noticable.

My second issue was with audio. It worked out of the box for me, however my friend couldnt get audio to work whatso ever

My third issue I encountered was that when I had 2 users already viewing the stream a third one failed to display anything. dev console in chrome

I am running chrome version: 88.0.4324.190

obs encoder settings obs audio settings

popcorn9499 avatar Mar 01 '21 19:03 popcorn9499

Hi, the stuttering is a known issue however I have not come to the root cause yet. Try switching keyframe interval to 3 instead of 0. In regards to the audio issues I have never experienced this or had anyone experience this. My only thought is that maybe the video is muted?

GRVYDEV avatar Mar 01 '21 19:03 GRVYDEV

The video wasn't muted. I thought it was strange as well Because I can get it to work perfectly. I will look into it further.

I will try switching the keyframe interval when I get a chance.

Any idea why only 2 people could view a stream?

popcorn9499 avatar Mar 01 '21 19:03 popcorn9499

I am unsure why you are limited to 2 people. I have had more than 2 people viewing it before.

GRVYDEV avatar Mar 01 '21 19:03 GRVYDEV

Anything i can try? or more information I could give you in regards to that?

popcorn9499 avatar Mar 01 '21 19:03 popcorn9499

The dev console you pasted was from the person who could not see anything correct?

GRVYDEV avatar Mar 01 '21 19:03 GRVYDEV

yes

popcorn9499 avatar Mar 01 '21 19:03 popcorn9499

Did they try pressing the play button on the video player?

GRVYDEV avatar Mar 01 '21 19:03 GRVYDEV

They did multiple times. refreshing the page. The only way it worked was if one of the clients quit watching the stream

popcorn9499 avatar Mar 01 '21 19:03 popcorn9499

Where are you hosting the lightspeed server?

GRVYDEV avatar Mar 01 '21 19:03 GRVYDEV

a ovh vps in quebec

popcorn9499 avatar Mar 01 '21 19:03 popcorn9499

what is the bandwidth?

GRVYDEV avatar Mar 01 '21 19:03 GRVYDEV

500mbit up/down 2 vcpus. 4gb ram.

popcorn9499 avatar Mar 01 '21 19:03 popcorn9499

it wasnt hitting any cpu limits in htop. sitting around 15% cpu usage

popcorn9499 avatar Mar 01 '21 19:03 popcorn9499

hm weird. I have not heard of this problem before and I am not sure what would be causing it

GRVYDEV avatar Mar 01 '21 19:03 GRVYDEV

I will give it a shot a little later. See if I can see why it was failing to work.

is it possible for the docker containers to give more verbose output?

popcorn9499 avatar Mar 01 '21 19:03 popcorn9499

as of right now the logging capabilities are quite limited

GRVYDEV avatar Mar 01 '21 19:03 GRVYDEV

I can't get more than one viewer to work at once. As soon as the one that has the working stream closes it, the other can can get it to work by opening new tab/refresh.

Tried again after restarting everything and now I'm stuck at max 2 clients (same as OP) Running all of this in docker using the default docker-compose. Firewall off and have even tried putting the server in DMZ.

Tony322 avatar Jan 15 '22 14:01 Tony322