]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Revert "fixed stuck mod_rtmp session when the call is killed from fs side, such as...
authorWilliam King <william.king@quentustech.com>
Tue, 7 May 2013 23:04:54 +0000 (16:04 -0700)
committerWilliam King <william.king@quentustech.com>
Tue, 7 May 2013 23:08:15 +0000 (16:08 -0700)
This reverts commit d8edc031faa41d4e570aad1e347a0ed6c0d6c1d8.

Conflicts:
src/mod/endpoints/mod_rtmp/mod_rtmp.c

src/mod/endpoints/mod_rtmp/mod_rtmp.c

index 9168a902cb26b1def8bbe02175e665cd8fc7fa28..8311c6bcb08807ef5067767d728de1ec6c4c6297 100644 (file)
@@ -238,13 +238,6 @@ switch_status_t rtmp_on_destroy(switch_core_session_t *session)
                
                switch_buffer_destroy(&tech_pvt->readbuf);
                switch_core_timer_destroy(&tech_pvt->timer);
-
-               if (tech_pvt->rtmp_session) {
-                       rtmp_session_t *rsession = tech_pvt->rtmp_session;
-                       if (rsession->state != RS_DESTROY) {
-                               rtmp_session_destroy(&rsession);
-                       } 
-               }
        }
 
        return SWITCH_STATUS_SUCCESS;