Browse code

b/f:core/ZRTP:don't start ZRTP streams twice in AmRtpStream::init(...)

Stefan Sayer authored on 18/11/2014 16:30:36
Showing 1 changed files
... ...
@@ -753,12 +753,6 @@ int AmRtpStream::init(const AmSdp& local,
753 753
   DBG("default payload selected = %i\n",payload);
754 754
   last_payload = payload;
755 755
 
756
-#ifdef WITH_ZRTP  
757
-  if (session && session->enable_zrtp) {
758
-    session->zrtp_session_state.startStreams(get_ssrc());
759
-  }
760
-#endif
761
-
762 756
   active = false; // mark as nothing received yet
763 757
   return 0;
764 758
 }