mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
Merge "res/res_stasis_playback: Cancel the entire playlist when a stop occurs"
This commit is contained in:
@@ -370,6 +370,9 @@ static void play_on_channel(struct stasis_app_playback *playback,
|
||||
|
||||
playback_final_update(playback, offsetms, res,
|
||||
ast_channel_uniqueid(chan));
|
||||
if (res == AST_CONTROL_STREAM_STOP) {
|
||||
break;
|
||||
}
|
||||
|
||||
/* Reset offset for any subsequent media */
|
||||
offsetms = 0;
|
||||
|
Reference in New Issue
Block a user