<load module="mod_g723_1"/>
<load module="mod_g729"/>
<load module="mod_amr"/>
++<<<<<<< HEAD
+ <!-- <load module="mod_ilbc"/> -->
++=======
+ <!--<load module="mod_ilbc"/>-->
++>>>>>>> eb0404d0256dee4696b3ae1b62c4b1cef9327a0d
<load module="mod_speex"/>
<load module="mod_h26x"/>
- <load module="mod_siren"/>
+ <!--<load module="mod_siren"/>-->
<!--<load module="mod_isac"/>-->
<!--<load module="mod_celt"/>-->
<!--<load module="mod_opus"/>-->
char *sofia_glue_get_host(const char *str, switch_memory_pool_t *pool);
void sofia_presence_check_subscriptions(sofia_profile_t *profile, time_t now);
void sofia_msg_thread_start(int idx);
+void crtp_init(switch_loadable_module_interface_t *module_interface);
+
+
+ /* For Emacs:
+ * Local Variables:
+ * mode:c
+ * indent-tabs-mode:t
+ * tab-width:4
+ * c-basic-offset:4
+ * End:
+ * For VIM:
+ * vim:set softtabstop=4 shiftwidth=4 tabstop=4:
+ */
int zinit;
#endif
- switch_time_t send_time;
- switch_byte_t auto_adj_used;
- uint8_t pause_jb;
- uint16_t last_seq;
- switch_time_t last_read_time;
- switch_size_t last_flush_packet_count;
+
};
+struct switch_rtcp_source {
+ unsigned ssrc1:32;
+ unsigned fraction_lost:8;
+ unsigned cumulative_lost:24;
+ unsigned hi_seq_recieved:32;
+ unsigned interarrival_jitter:32;
+ unsigned lsr:32;
+ unsigned lsr_delay:32;
+};
+
+
+#if SWITCH_BYTE_ORDER == __BIG_ENDIAN
+struct switch_rtcp_s_desc_head {
+ unsigned v:2;
+ unsigned padding:1;
+ unsigned sc:5;
+ unsigned pt:8;
+ unsigned length:16;
+};
+
+#else /* BIG_ENDIAN */
+
+struct switch_rtcp_s_desc_head {
+ unsigned sc:5;
+ unsigned padding:1;
+ unsigned v:2;
+ unsigned pt:8;
+ unsigned length:16;
+};
+
+#endif
+
+
+struct switch_rtcp_s_desc_trunk {
+ unsigned ssrc:32;
+ unsigned cname:8;
+ unsigned length:8;
+ char text[1];
+};
+
struct switch_rtcp_senderinfo {
unsigned ssrc:32;
unsigned ntp_msw:32;
rtp_session->stats.rtcp.packet_count += sr->pc;
rtp_session->stats.rtcp.octet_count += sr->oc;
+ rtp_session->stats.rtcp.peer_ssrc = ntohl(sr->ssrc);
/* sender report */
- switch_log_printf(SWITCH_CHANNEL_LOG, /*SWITCH_LOG_DEBUG10*/ SWITCH_LOG_INFO,"Received a SR with %d report blocks, " \
+ switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG10,"Received a SR with %d report blocks, " \
"length in words = %d, " \
"SSRC = 0x%X, " \
"NTP MSW = %u, " \