Search found 2 matches

by Kaezon
Tue Oct 18, 2016 05:49
Forum: Modding Discussion
Topic: Trying to play an OGG from a remote source
Replies: 2
Views: 375

Re: Trying to play an OGG

That's because sounds are sent to client during load time. You cannot add sounds at runtime, sadly. Single player also uses client-server architecture, so you cannot hack around it. Darn, I was halfway done implementing a base64 decoder to write encoded OGGs down from my AWS S3. BTW, nice name. Bac...
by Kaezon
Tue Oct 18, 2016 04:22
Forum: Modding Discussion
Topic: Trying to play an OGG from a remote source
Replies: 2
Views: 375

Trying to play an OGG from a remote source

I'm trying to see if I can get an OGG to play from the web using the Minetest http api. I've gotten all the way to getting the callback to execute, but it seems that minetest.sound_play() isn't actually playing the data from response.data if http then http.fetch({url = "hpr.dogphilosophy.net/te...