Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGL .ogg streaming #231

Open
DerpedCrusader opened this issue Nov 22, 2023 · 1 comment
Open

WebGL .ogg streaming #231

DerpedCrusader opened this issue Nov 22, 2023 · 1 comment
Labels
question Further information is requested

Comments

@DerpedCrusader
Copy link

It seems .ogg streaming isn't working on WebGL versions of FTE

@DerpedCrusader DerpedCrusader changed the title WebGL .ogg streaming WebGL .ogg streaming Nov 22, 2023
@Shpoike
Copy link
Contributor

Shpoike commented Nov 23, 2023

fte's web port is meant to depend on the browser's ogg support, which doesn't really expose the data to the page itself.
You should be able to play them via webaudio's buffers (read: needs s_al_disable 0 with emscripten's openal->webaudio layer) instead of using FTE's own mixer.
However, this will seriously screw up chrome's performance (while being fine in firefox), and of course sound completely wrong with lots of other quirks cos webaudio ain't openal and openal ain't exactly simple to work with either.

On the plus side, when its working you should get not just ogg-vorbis, but also ogg-flac, ogg-opus, and mp3 too (and any other obscure formats your browser might support)... You just have to be happy with the fucked up mixer.

@Xylemon Xylemon added question Further information is requested GoldSrc Anything related to Half-Life 1 based engine games labels Feb 1, 2024
@Xylemon Xylemon removed the GoldSrc Anything related to Half-Life 1 based engine games label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants