switch rtp flags format usage on switch_rtp_new

This commit is contained in:
Anthony Minessale committed 2013-03-31 21:27:19 -05:00
1 parent f1e304cc29
commit 3fe0b471c1
4 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ SWITCH_STANDARD_APP(bcast_function)
switch_size_t bytes;
ls_control_packet_t control_packet;
switch_codec_t codec = { 0 };
uint32_t flags = 0;
switch_rtp_flag_t flags[SWITCH_RTP_FLAG_INVALID] = {0};
const char *err;
switch_rtp_t *rtp_session = NULL;
switch_port_t rtp_port;
+1 -1
View File
@@ -109,7 +109,7 @@ static int oreka_tear_down_rtp(oreka_session_t *oreka, oreka_stream_type_t type)
static int oreka_setup_rtp(oreka_session_t *oreka, oreka_stream_type_t type)
{
switch_port_t rtp_port = 0;
switch_rtp_flag_t flags = 0;
switch_rtp_flag_t flags[SWITCH_RTP_FLAG_INVALID] = {0};
switch_rtp_t *rtp_stream = NULL;
switch_codec_implementation_t *codec_impl = NULL;
switch_status_t status = SWITCH_STATUS_SUCCESS;