The_GTA Posted August 4, 2011 Share Posted August 4, 2011 I am planning to do a radio resource. One of it's features shall be the management of live streams alongside with the internal GTA:SA ones. The live streams start up (playSound) and once onClientSoundStream triggers, they get paused (setSoundPaused(sound, true)). They remain paused until the user selects them; basically, the currently playing channel gets paused and the next one unpaused. Well, it does not work flawlessly. The streams tend to suddenly stop playing with no error output or sound element destruction. Is this supposed to happen? Do you guys have any experience with this problem? Am I forgetting something? Is BASS unable to handle some live streams? Or is pausing live streams bad? -- Another thing is onClientSoundChangedMeta and getSoundMetaTags. The event does not seem to trigger all the time and the function does not provide the promised stream_title. Link to comment
Arisu Posted August 4, 2011 Share Posted August 4, 2011 How are you going to stop live translation? Link to comment
The_GTA Posted August 4, 2011 Author Share Posted August 4, 2011 It just, works. I think that the pausing of the live stream should stop the procession of sound input to the driver, not the keepalive of the stream. Link to comment
Arisu Posted August 4, 2011 Share Posted August 4, 2011 May be your stream is timeouting? If you pause it for long, connection will be lost Link to comment
The_GTA Posted August 4, 2011 Author Share Posted August 4, 2011 Probably. But why does the sound element not get destroyed? And it is wierd that the stream can be paused multi times while still playing synchronised. BASS is using such a big sound buffer? Alright, the timeout theory seems to be correct. BASS also buffers data which it collected since the stream paused; pretty weird but okay. Thanks for your help! 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