]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7500 just send refresh and not full reset on uuid_video_refresh
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 23 May 2015 03:08:19 +0000 (22:08 -0500)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:33 +0000 (12:47 -0500)
src/mod/applications/mod_commands/mod_commands.c

index 60bcda10d007085b5e1304a9bc8958db72434cd1..67e5eb04162589292f810f273f9007ad7d7fd637 100644 (file)
@@ -3934,8 +3934,7 @@ SWITCH_STANDARD_API(uuid_video_refresh_function)
                switch_core_session_t *lsession = NULL;
 
                if ((lsession = switch_core_session_locate(argv[0]))) {
-                       switch_core_session_video_reinit(lsession);
-                       switch_channel_video_sync(switch_core_session_get_channel(lsession));
+                       switch_core_session_request_video_refresh(lsession);
                        status = SWITCH_STATUS_SUCCESS;
                        switch_core_session_rwunlock(lsession);
                }