Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

No sound in MiniBrowser

Post Reply
User avatar
T.Toda
Posts: 2
Joined: Sat Jan 18, 2020 4:10 am

No sound in MiniBrowser

Post by T.Toda »

Hello everyone,

I am creating internet radio software using Delphi 7.1 on Windows 7 Pro x64.
The software is currently playing radio sound using the IE ActiveX TWebBrowser (SHDocVw_TLB), but I would like to introduce Chromium into my own program. So I installed CEF4Delphi on Delphi 7.1 last night.
In order to build the sample program MiniBrowser, I needed to modify the source a little, but now MiniBrowser is running fine on my PC.

I visited several Internet radio stations on MiniBrowser.
The YouTube site plays videos and sounds, but some radio stations do not. Are these codec issues?
The URL of the radio station that does not sound is as follows.

1.RadioTunes (m4a Audio error?) https://www.radiotunes.com/solopiano
2.Jango (This station is off the air error?) https://www.jango.com/stations/388481824/tunein
3.JCBA Internet Radio (Japan) https://musicbird.leanplayer.com/JCB015/embed

These URLs will sound in common browsers, including Google Chrome, and will sound if you just loadURL to TWebBrowser. But there is no sound in MiniBrowser.

Thank you.
User avatar
salvadordf
Posts: 4042
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: No sound in MiniBrowser

Post by salvadordf »

Hi,
  • The "solopiano" station at RadioTunes streams in m4a format.
  • Jango shows player errors in the console, perhaps caused by the audio format.
  • JCBA Internet Radio fails to play automatically because the user has to interact with the document first but when you interact with the player then it shows this error : "Failed to load because no supported source was found".
Please, read this :
https://www.briskbard.com/index.php?lan ... cef#codecs

I recently added a thread with instructions to build the CEF binaries with proprietary codecs but remember that you have to get a license to distribute those codecs in some countries :
https://www.briskbard.com/forum/viewtop ... =10&p=4800

Most of the radio stations in tunein.com and shoutcast.com use MP3 which is supported by CEF without any modifications but a few stations use AAC or other unsupported codecs that require rebuilding the CEF binaries.
User avatar
T.Toda
Posts: 2
Joined: Sat Jan 18, 2020 4:10 am

Re: No sound in MiniBrowser

Post by T.Toda »

Thanks, salvadordf

Actualy, I was reading the official site codec notes you gave me before asking a question here.
But I didn't want to believe it :-)

I asked with a glance of hope, but I fully understood that building a CEF binary was still necessary.
It is a very difficult project for me and for my PC environment.

Thank you again.

Sorry, I have begun to think of an alternative to CEF4Delphi to change Internet radio software.
And I would like to use CEF4Delphi for software development to browse sites that use supported codecs or other sites that do not require audio.
Post Reply