Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
http://websdr.ewi.utwente.nl:8901/
Here, in workshop i found some nice models of Radio from past. It will be ideal for such mod, because this is also use AM.
You can tune the radio and then hide the display in the mod options and just enjoy listening.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=246756300
https://wiki.facepunch.com/gmod/sound.PlayURL
This function uses the BASS sound engine that ships with the game. It is quite powerful, but also limited. It can only support actuall sound streams such as mp3, wav, acc etc. BASS can not playback HTML5, videos or websocket content.
Also please don't underestimate the programming in a project, it usually makes up a major part of a project's development time. The 3D Stream Radio addon has like hundreds of progamming hours into it already.
Thanx for information.
Conclusion - I need to create a panel that can play a stream in html5, as well as an audio stream, and then attach it to the radio model.
Using a panel for playing/rendering HTML5 is what I mean with unsing the ingame browser. It does not work with every game version branch, is unstable and can be slow and unsafe. On the "main" branch of the game the ingame browser is very outdated, so it is likely you will get some issues running the webpage on it.
I just want to make sure you can make informed decisions.
I just found such video, where somebody use Google Chrome browser ingame, like display. And it's perfectly works...
But this mod not exist in Workshop. It may have been removed due to copyright or some such nonsense. Or maybe the author of the mod just didn't want to share it in the public domain... It's strange.
In any case, it works great and shows that everything is functioning stably.
I am a radio specialist by profession and I have always been attracted to the topic of radio. I tried to do something similar to this mod in other games before, but their engines were too primitive and incapable of rendering anything like html 5. Gmod is much more advanced in this regard. Too bad I found out about him so late.
You shouldn't worry about it. I am burning with this idea and therefore, I am unlikely to calm down until I create such a mod.
https://wiki.facepunch.com/gmod/Panel:SetHTML
https://wiki.facepunch.com/gmod/Panel:UpdateHTMLTexture
This addon runs with HTML5, so you can take a look at this:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=546392647
And now I will try to poke around inside this media player.
In the original mod, there is a certain list of servers from where you can watch streams. It's youtube, reddit and twitch... I need to change this to a websdr window and attach to another model...
Now I will try to figure it out.