mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Merge "apps/app_echo: Only relay a single video source change frame" into 13
This commit is contained in:
@@ -68,7 +68,8 @@ static int echo_exec(struct ast_channel *chan, const char *data)
|
||||
f->delivery.tv_sec = 0;
|
||||
f->delivery.tv_usec = 0;
|
||||
if (f->frametype == AST_FRAME_CONTROL
|
||||
&& f->subclass.integer == AST_CONTROL_VIDUPDATE) {
|
||||
&& f->subclass.integer == AST_CONTROL_VIDUPDATE
|
||||
&& !fir_sent) {
|
||||
if (ast_write(chan, f) < 0) {
|
||||
ast_frfree(f);
|
||||
goto end;
|
||||
|
||||
Reference in New Issue
Block a user