Skip to content

Commit 0e01013

Browse files
authored
Merge pull request #847 from orgads/srtp-dead
RTPStream: Remove dead code
2 parents f1bf767 + bcae440 commit 0e01013

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/rtpstream.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3136,8 +3136,6 @@ int rtpstream_rtpecho_startaudio(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASAu
31363136
{
31373137
fprintf(debugrefileaudio, "rtpstream_rtpecho_startaudio reached...\n");
31383138
}
3139-
printLocalAudioSrtpStuff(taskinfo->local_srtp_audio_params);
3140-
printRemoteAudioSrtpStuff(taskinfo->remote_srtp_audio_params);
31413139
pthread_mutex_unlock(&debugremutexaudio);
31423140

31433141
/* Create first RTP echo thread for audio */
@@ -3176,8 +3174,6 @@ int rtpstream_rtpecho_updateaudio(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASA
31763174
{
31773175
fprintf(debugrefileaudio, "rtpstream_rtpecho_updateaudio reached...\n");
31783176
}
3179-
printLocalAudioSrtpStuff(taskinfo->local_srtp_audio_params);
3180-
printRemoteAudioSrtpStuff(taskinfo->remote_srtp_audio_params);
31813177
pthread_mutex_unlock(&debugremutexaudio);
31823178

31833179
pthread_mutex_lock(&uasAudioMutex);
@@ -3226,8 +3222,6 @@ int rtpstream_rtpecho_stopaudio(rtpstream_callinfo_t* callinfo)
32263222
{
32273223
fprintf(debugrefileaudio, "rtpstream_rtpecho_stopaudio reached...\n");
32283224
}
3229-
printLocalAudioSrtpStuff(taskinfo->local_srtp_audio_params);
3230-
printRemoteAudioSrtpStuff(taskinfo->remote_srtp_audio_params);
32313225
pthread_mutex_unlock(&debugremutexaudio);
32323226

32333227
if (pthread_join(pthread_audioecho_id, &r.p) == 0)
@@ -3301,8 +3295,6 @@ int rtpstream_rtpecho_startvideo(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASVi
33013295
{
33023296
fprintf(debugrefilevideo, "rtpstream_rtpecho_startvideo reached...\n");
33033297
}
3304-
printLocalVideoSrtpStuff(taskinfo->local_srtp_video_params);
3305-
printRemoteVideoSrtpStuff(taskinfo->remote_srtp_video_params);
33063298
pthread_mutex_unlock(&debugremutexvideo);
33073299

33083300
/* Create second RTP echo thread for video */
@@ -3341,8 +3333,6 @@ int rtpstream_rtpecho_updatevideo(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASV
33413333
{
33423334
fprintf(debugrefilevideo, "rtpstream_rtpecho_updatevideo reached...\n");
33433335
}
3344-
printLocalVideoSrtpStuff(taskinfo->local_srtp_video_params);
3345-
printRemoteVideoSrtpStuff(taskinfo->remote_srtp_video_params);
33463336
pthread_mutex_unlock(&debugremutexvideo);
33473337

33483338
pthread_mutex_lock(&uasVideoMutex);
@@ -3391,8 +3381,6 @@ int rtpstream_rtpecho_stopvideo(rtpstream_callinfo_t* callinfo)
33913381
{
33923382
fprintf(debugrefilevideo, "rtpstream_rtpecho_stopvideo reached...\n");
33933383
}
3394-
printLocalVideoSrtpStuff(taskinfo->local_srtp_video_params);
3395-
printRemoteVideoSrtpStuff(taskinfo->remote_srtp_video_params);
33963384
pthread_mutex_unlock(&debugremutexvideo);
33973385

33983386
if (pthread_join(pthread_videoecho_id, &r.p) == 0)

0 commit comments

Comments
 (0)