int AudioStream::DeleteAudioWatcher(unsigned clientSessionId) { Log(">DeleteAudioWatcher [%u]\n",clientSessionId); //El iterator Rtps::iterator it = rtps.find(clientSessionId); //Si no esta if (it == rtps.end()) return Error("Rtps not found\n"); RTPSession* rtp = (*it).second; rtps.erase(it); rtp->End(); delete rtp; Log(">DeleteAudioWatcher [%u] success\n",clientSessionId); return 1; }