Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
8b4c9dc4
提交
8b4c9dc4
authored
6月 22, 2012
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-3659 and some refactor for rtcp ice and video ice and rtcp
上级
c3094046
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
409 行增加
和
173 行删除
+409
-173
switch_rtp.h
src/include/switch_rtp.h
+3
-2
switch_types.h
src/include/switch_types.h
+3
-0
switch_core_session.c
src/switch_core_session.c
+1
-0
switch_rtp.c
src/switch_rtp.c
+402
-171
没有找到文件。
src/include/switch_rtp.h
浏览文件 @
8b4c9dc4
...
...
@@ -215,7 +215,8 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session);
\brief Acvite ICE on an RTP session
\return SWITCH_STATUS_SUCCESS
*/
SWITCH_DECLARE
(
switch_status_t
)
switch_rtp_activate_ice
(
switch_rtp_t
*
rtp_session
,
char
*
login
,
char
*
rlogin
);
SWITCH_DECLARE
(
switch_status_t
)
switch_rtp_activate_ice
(
switch_rtp_t
*
rtp_session
,
char
*
login
,
char
*
rlogin
,
const
char
*
password
);
SWITCH_DECLARE
(
switch_status_t
)
switch_rtp_activate_rtcp_ice
(
switch_rtp_t
*
rtp_session
,
char
*
login
,
char
*
rlogin
,
const
char
*
password
);
/*!
\brief Activate sending RTCP Sender Reports (SR's)
...
...
@@ -268,7 +269,7 @@ SWITCH_DECLARE(void) switch_rtp_clear_flag(switch_rtp_t *rtp_session, switch_rtp
\return the socket from the RTP session
*/
SWITCH_DECLARE
(
switch_socket_t
*
)
switch_rtp_get_rtp_socket
(
switch_rtp_t
*
rtp_session
);
SWITCH_DECLARE
(
void
)
switch_rtp_ping
(
switch_rtp_t
*
rtp_session
);
/*!
\brief Get the default samples per interval for a given RTP session
\param rtp_session the RTP session to get the samples per interval from
...
...
src/include/switch_types.h
浏览文件 @
8b4c9dc4
...
...
@@ -539,6 +539,7 @@ typedef struct {
switch_size_t
raw_bytes
;
switch_size_t
media_bytes
;
switch_size_t
packet_count
;
switch_size_t
period_packet_count
;
switch_size_t
media_packet_count
;
switch_size_t
skip_packet_count
;
switch_size_t
jb_packet_count
;
...
...
@@ -558,6 +559,7 @@ typedef struct {
switch_rtp_numbers_t
inbound
;
switch_rtp_numbers_t
outbound
;
switch_rtcp_numbers_t
rtcp
;
uint32_t
read_count
;
}
switch_rtp_stats_t
;
typedef
enum
{
...
...
@@ -890,6 +892,7 @@ typedef enum {
SWITCH_MESSAGE_INDICATE_INFO
,
SWITCH_MESSAGE_INDICATE_AUDIO_DATA
,
SWITCH_MESSAGE_INDICATE_BLIND_TRANSFER_RESPONSE
,
SWITCH_MESSAGE_INDICATE_STUN_ERROR
,
SWITCH_MESSAGE_INVALID
}
switch_core_session_message_types_t
;
...
...
src/switch_core_session.c
浏览文件 @
8b4c9dc4
...
...
@@ -645,6 +645,7 @@ static const char *message_names[] = {
"INFO"
,
"AUDIO_DATA"
,
"BLIND_TRANSFER_RESPONSE"
,
"STUN_ERROR"
,
"INVALID"
};
...
...
src/switch_rtp.c
浏览文件 @
8b4c9dc4
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论