Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2019-07-15 20:16:39



Reply to topic  [ 8 posts ] 
No Music and Viewer Freeze with audio streams 
Author Message

Joined: 2014-03-22 03:17:49
Posts: 31
Reply with quote
Hi Henri!

I am putting this here because i am pretty sure its not happening for you, and may be a local configuration problem for me, and i am hoping you have some suggestions to help.

I am experiencing this on Win10, and cleaned out my viewer settings and reinstalled Cool VL Viewer v1.26.22.20. I jsut installed the latest FMOD studio to see if it would help but i seem to be running into the same problem with it installed. (basic system info from the help window is below).

I tried this link as a parcel music stream, and when i pressed play, got all the normal dialogs, but did not hear any music. After i pressed stop, my viewer froze. Its very repeatable for me. The stream plays normally with the standard viewer, but i do understand that this is one of the big differences under the hood, so that only means there is in fact music being streamed over that URL.

http://51.255.235.165:5092/;.m3u

Generally i am not hearing any music, and i am wondering if i am missing some required system component, or there is a version incompatibility somewhere. I think this has been going on for a few months, but i just started to notice it lately, as i started trying to listen to in world streams again. Any suggestions would be welcome, especially if its a list of components that make Win10 behave!

Thank you again Henri, as always!
~Lycia



Cool VL Viewer v1.26.22.20, 64 bits, Sep 29 2018 11:00:04
RestrainedLove viewer v2.09.23.20
Release Notes

CPU: Intel(R) Core(TM) i9-7900X CPU @ 3.30GHz (3312 MHz)
Memory: 65230MB
OS version: Microsoft Windows 8 64-bit (Build 9200) compatibility mode. Real version: 10.0 (Build 10586)
Memory manager: OS native
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2
Windows graphics driver version: Loading...
OpenGL version: 4.6.0 NVIDIA 391.35
Detected VRAM: 11264MB
J2C decoder: OpenJPEG: 1.4.0.635d
Audio driver: FMOD Studio v1.10.08
Networking backend: libcurl/7.47.0 OpenSSL/1.0.2l zlib/1.2.8
Embedded browser: CEF3 plugin v3.3325.1750.gaabe4c4

Built with: MSVC v1800

Compile flags used for this build:
/O2 /Oi /MD /MP /DNDEBUG /D_SECURE_SCL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Oy- /GS /fp:fast /TP /W2 /Zc:forScope /Zc:wchar_t- /c /nologo /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DXML_STATIC /DBOOST_ALL_NO_LIB /DLL_LUA=1 /DLL_FMODSTUDIO=1 /DAPR_DECLARE_STATIC /DAPU_DECLARE_STATIC /DCURL_STATICLIB=1 /DLIB_NDOF=1


2018-10-21 00:38:17
Profile

Joined: 2009-03-17 18:42:51
Posts: 4004
Reply with quote
Lycia_Undercroft wrote:
I am putting this here because i am pretty sure its not happening for you
I could reproduce the issue, so it goes to the bug reports forum.

Quote:
I am experiencing this on Win10, and cleaned out my viewer settings and reinstalled Cool VL Viewer v1.26.22.20. I jsut installed the latest FMOD studio to see if it would help but i seem to be running into the same problem with it installed.
You do not need to install FMOD Studio at all: the viewer is shipped with the FMOD Studio low-level API library, which is it all it needs. Also, please note that v1.26.22.21 was released with a newer FMOD Studio library version.

Quote:
I tried this link as a parcel music stream, and when i pressed play, got all the normal dialogs, but did not hear any music. After i pressed stop, my viewer froze. Its very repeatable for me. The stream plays normally with the standard viewer, but i do understand that this is one of the big differences under the hood, so that only means there is in fact music being streamed over that URL.
http://51.255.235.165:5092/;.m3u
That's a strange URL name (with a ';' in it), but this is not the cause for the bug.

The stream plays fine for me using OpenAL as the back-end (under Linux - Windows binaries don't have OpenAL built-in). but fails to play and freezes on stop with FMOD Studio. The standard viewer is still using the deprecated/unmaintained FMOD Ex library, which might explain why it successfully plays it.

The freeze happens in FMOD Studio, that waits forever for the stream to play before closing it (but since it fails to play it at all, it never happens), never handing back control to the viewer. So it's basically a FMOD Studio bug, and I'm afraid I can't do anything but implementing a (dirty) work-around: instead of force-releasing (at FMOD's level) the stream on close timeout, the next release will force-close it (at the viewer level only, thus cause a dangling stream and associated memory leak in FMOD Studio library). At least, this prevents the viewer freeze on stream stop.

Would you be using Linux, I'd recommend, in the mean time, to switch to OpenAL, but there's no such solution for Windows, so simply don't play that stream (you may blacklist it using the media filter feature).


2018-10-21 08:54:16
Profile WWW

Joined: 2014-03-22 03:17:49
Posts: 31
Reply with quote
Wow, i did not imagine it was an actual bug in FMOD. Okay, i will blacklist the stream, and this will give me an excuse to go play on my Linux box for a while again.

Thanks Henri!


2018-10-21 10:37:45
Profile

Joined: 2009-03-17 18:42:51
Posts: 4004
Reply with quote
Henri Beauchamp wrote:
The standard viewer is still using the deprecated/unmaintained FMOD Ex library, which might explain why it successfully plays it.
Confirmed.

I compiled a binary of the Cool VL Viewer with FMOD Ex instead of FMOD Studio, and that stream plays fine with it... I'll see to report this bug to FMOD developers.


2018-10-22 09:39:50
Profile WWW

Joined: 2014-03-22 03:17:49
Posts: 31
Reply with quote
That's great! hopefully they will be responsive about rolling in a fix, but we will all have to wait to see on that. Thanks for looking into this Henri!

~Lycia


2018-10-24 15:05:52
Profile

Joined: 2009-03-17 18:42:51
Posts: 4004
Reply with quote
I reported the bug to FMOD Studio developers and they replied with:
Quote:
There will be a fix for the streaming issue coming in the next release.

So we just have to wait for them to release the fixed version. In the mean time, I implemented a work-around in the viewer to avoid the freeze when attempting to stop failed streams.


2018-11-03 09:58:36
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 4004
Reply with quote
They fixed this bug in FMOD Studio v1.10.10, that will be used in the next Cool VL Viewer release.


2018-12-07 16:38:35
Profile WWW

Joined: 2014-03-22 03:17:49
Posts: 31
Reply with quote
I just saw the update, tried it out and it works great! Thank you so much Henri!
and thank you to the FMOD team as well!

~Lycia


2018-12-09 22:17:56
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.