Mtasa-blue: playSound3D plays stream (URL) regardless of distance

Created on 16 Sep 2019  路  4Comments  路  Source: multitheftauto/mtasa-blue

Describe the bug
playSound3D (url,3000,3000,3000) connects the url of the audio stream and plays the stream, regardless of the max distance (default 20 units)

To reproduce

To reproduce you need an audio streaming server like icecast or shoutcast, otherwise you may track the traffic with a network capture. Just place a playSound3D element very far away from the player.

Expected behaviour
The audio player should connect to the audio stream server when the player is within the max distance of the sound element.

Screenshots

Version
Works until 1.5.7-18957 (ok)
v1.5.7-release-19626 and newer are broken.

Additional context

bug

Most helpful comment

This is a new problem. It is caused by creating the sound even if it has been streamed out

All 4 comments

Seems to be fixed in v1.5.7-release-20210

@patrikjuvonen Problem caused by bdb80130 (Add client setting to toggle internet sound streams)
Temp fixed by reverting in 59b5fb24

@patrikjuvonen Problem caused by bdb8013 (Add client setting to toggle internet sound streams)

should be fixed since e1b7c73

Seems to be fixed in v1.5.7-release-20210

The only question is if it was properly done

@ccw808

This is a new problem. It is caused by creating the sound even if it has been streamed out

Was this page helpful?
0 / 5 - 0 ratings