-
Notifications
You must be signed in to change notification settings - Fork 28
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
Strange Behaviour using "tone_stream://%(1850,4150,475,425);loops=-1" on playback #13
Comments
That's interesting -- are you calling 'destroy' on the endpoint? That should stop it. If you end the app without deleting the endpoint, then I would expect it to continue streaming that tone |
deleting the endpoint should stop it, and the 'pause' api command should pause it per this: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+endless_playback |
Ok, thx for the hint. I will try "pause". The Endpoint is destroyed, but maybe (cause of debugging) not always. But, if the DrachtIO/FS was in this STATE endpoint.destroy() was always called. i will do more tests, stay tuned :) |
Sample Case (note, only debug from fsmrf is shown)
|
Hi, we have still a lot of fun (and Success)... :), but
we had made experiments using tone_stream with endPoint.play()
It works, but with strange behavior if "loops=-1" (endless loop)
After you have send this play statement, any following call (even if you end your app and restart and reconnect to the DrachtIOServer) will have the tone playing.
You have to restart the DrachtIO/FreeSwitch construct to remove this behaviour.
Is the RTP EndPoint reused between different calls?
The text was updated successfully, but these errors were encountered: