Stop sound upon frame exit
Good day all,
I am working on a mobile app for video streaming. I have video loading on a frame, upon exit to different frame, sound keeps playing. Looks like SoundMixer.stopAll(); is not working.
Regards
Good day all,
I am working on a mobile app for video streaming. I have video loading on a frame, upon exit to different frame, sound keeps playing. Looks like SoundMixer.stopAll(); is not working.
Regards
The audio in a net stream is not a regular Sound object, and so you can’t stop the sound using the sound mixer. You should be able to stop the stream like this:
ns.stop();
where ns would be your NetStream variable.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.