Rob0 Posted August 24, 2017 Share Posted August 24, 2017 I am working on reducing bandwidth in my server. And was wondering: I use a in game radio system based on below: addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local uSound = playSound3D( 'http://193.34.51.25:80', 2498, -1659, 12 ) setSoundMaxDistance( uSound, 100 ) end ) It streams broadcast music from various web radio stations. Does this stream from the client or the server? When they turn it on everyone around them hears the music. Do they all hear the music as a result of each client streaming that music direct from the radio station to themselves or does the server stream that music from the radio station to itself, then to each of the many clients hearing? I think it is entirely client based and costs my Server no bandwidth. Is this correct? Link to comment
Moderators IIYAMA Posted August 24, 2017 Moderators Share Posted August 24, 2017 It should be logic that the server doesn't come in between. Link to comment
Discord Moderators Pirulax Posted August 25, 2017 Discord Moderators Share Posted August 25, 2017 Just think about it, why would server stream the music?The the function should be a shared function, not a client-only function. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now