mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-23 16:05:30 -07:00
Merge "apps/app_echo: Only relay a single video source change frame"
This commit is contained in:
+2
-1
@@ -66,7 +66,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