tRelease call resources with toxav_kill_transmission() - ratox - FIFO based tox client
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 6d50d880eb7ad064c10136ea1358bd06f14a0b24
 (DIR) parent 362aade3e746fdadd77f62ef22d92f7a623029c8
 (HTM) Author: sin <sin@2f30.org>
       Date:   Wed,  8 Oct 2014 01:16:25 +0100
       
       Release call resources with toxav_kill_transmission()
       
       Reject calls on both sides to reset states.  This still needs
       tto be tested to see if there's any effect of doing that.
       
       Diffstat:
         M ratox.c                             |       6 ++++++
       
       1 file changed, 6 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/ratox.c b/ratox.c
       t@@ -418,6 +418,7 @@ cbcallended(void *av, int32_t cnum, void *udata)
        
                cancelrxcall(f, "Ended");
                canceltxcall(f, "Ended");
       +        toxav_kill_transmission(toxav, cnum);
        }
        
        static void
       t@@ -433,6 +434,7 @@ cbcallcancelled(void *av, int32_t cnum, void *udata)
        
                cancelrxcall(f, "Cancelled");
                canceltxcall(f, "Cancelled");
       +        toxav_kill_transmission(toxav, cnum);
        }
        
        static void
       t@@ -447,6 +449,8 @@ cbcallrejected(void *av, int32_t cnum, void *udata)
                        return;
        
                canceltxcall(f, "Rejected");
       +        cancelrxcall(f, "Rejected");
       +        toxav_kill_transmission(toxav, cnum);
        }
        
        static void
       t@@ -497,6 +501,7 @@ cbcallending(void *av, int32_t cnum, void *udata)
        
                cancelrxcall(f, "Ending");
                canceltxcall(f, "Ending");
       +        toxav_kill_transmission(toxav, cnum);
        }
        
        static void
       t@@ -511,6 +516,7 @@ cbreqtimeout(void *av, int32_t cnum, void *udata)
                        return;
                cancelrxcall(f, "Timeout");
                canceltxcall(f, "Timeout");
       +        toxav_kill_transmission(toxav, cnum);
        }
        
        static void