Commit 85e43112 authored by Simon Morlat's avatar Simon Morlat

add possibility to disable rtcp

install mediastream in /usr/bin
parent 222fccb2
......@@ -271,6 +271,9 @@ int audio_stream_start_full(AudioStream *stream, RtpProfile *profile, const char
rtp_session_set_profile(rtps,profile);
if (remport>0) rtp_session_set_remote_addr_full(rtps,remip,remport,rem_rtcp_port);
if (rem_rtcp_port<=0){
rtp_session_enable_rtcp(rtps,FALSE);
}
rtp_session_set_payload_type(rtps,payload);
rtp_session_set_jitter_compensation(rtps,jitt_comp);
......
......@@ -359,6 +359,9 @@ int video_stream_start (VideoStream *stream, RtpProfile *profile, const char *re
rtp_session_set_profile(rtps,profile);
if (remport>0) rtp_session_set_remote_addr_full(rtps,remip,remport,rem_rtcp_port);
if (rem_rtcp_port<=0){
rtp_session_enable_rtcp(rtps,FALSE);
}
rtp_session_set_payload_type(rtps,payload);
rtp_session_set_jitter_compensation(rtps,jitt_comp);
......
......@@ -17,7 +17,7 @@ test_x11window_SOURCES=test_x11window.c
tones_SOURCES=tones.c
libexec_PROGRAMS=mediastream
bin_PROGRAMS=mediastream
mediastream_SOURCES=mediastream.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment