RSATom / WebChimera.js

[ABANDONED] libvlc binding for Electron
GNU Lesser General Public License v2.1
661 stars 105 forks source link

Application Freezing #144

Closed boonzie closed 3 years ago

boonzie commented 3 years ago

I don't know why, but when I'm using .play() while another play is in progress it makes the app frozen.

boonzie commented 3 years ago
RSATom commented 3 years ago

What OS do you use?

boonzie commented 3 years ago

Windows

hondek commented 3 years ago

I have same issue, sometime when player playing and i click to play next video all UI freezing.

I write script who do this error every time, please download this archive, unpack, cd to folder and just "yarn dev" to get this bug.

archive: http://quadrapps.net/wcjs-ugly-demo.7z

RSATom commented 3 years ago

@hondek Unfortunately can't download it - always getting 403 (forbidden) error

hondek commented 3 years ago

@RSATom sorry it looks like forbidden out of west europe, this should work fine: http://137.74.92.81/wcjs-ugly-demo.7z

RSATom commented 3 years ago

@hondek Yes, I was able download it. Thanks!

RSATom commented 3 years ago

And was able to reproduce... investigating...

RSATom commented 3 years ago

It hangs inside libvlc on WaitForSingleObjectEx call. For me it looks like deadlock (i.e. bug inside libvlc). And it worth try update libvlc to the latest version. I'll check it soon (hopefully on weekend).

RSATom commented 3 years ago

@boonzie @hondek deadlock should be fixed in v0.5.2. Please try.

hondek commented 3 years ago

@RSATom it look great! thanks a lot!

boonzie commented 3 years ago

Working fine now

NotixOfficial commented 2 years ago

I would like to inform you that this problem is still not completely remedied.

Namely, the deadlock, which used to happen when loading the stream, has not been completely resolved. Sometimes it still appears and lasts only until the first frame. I just found one scenario where deadlock appears (i'm not sure if there are more scenarios)

For example, if one stream is currently being buffered, and if we switch to playing another stream, electron will freeze and it will become not responding until the video is buffered.

I'll try to take a look later, but I just want to point out that the problem remains.