Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
3fe0b471
提交
3fe0b471
authored
1月 18, 2013
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
switch rtp flags format usage on switch_rtp_new
上级
f1e304cc
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
8 行增加
和
7 行删除
+8
-7
mod_esf.c
src/mod/applications/mod_esf/mod_esf.c
+1
-1
mod_oreka.c
src/mod/applications/mod_oreka/mod_oreka.c
+1
-1
mod_sangoma_codec.c
src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c
+1
-1
mod_h323.cpp
src/mod/endpoints/mod_h323/mod_h323.cpp
+5
-4
没有找到文件。
src/mod/applications/mod_esf/mod_esf.c
浏览文件 @
3fe0b471
...
...
@@ -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
;
...
...
src/mod/applications/mod_oreka/mod_oreka.c
浏览文件 @
3fe0b471
...
...
@@ -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
;
...
...
src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c
浏览文件 @
3fe0b471
...
...
@@ -251,7 +251,7 @@ static int sangoma_create_rtp(void *usr_priv, sngtc_codec_request_leg_t *codec_r
switch_memory_pool_t
*
sesspool
=
NULL
;
switch_rtp_t
*
rtp_session
=
NULL
;
char
codec_ip
[
255
];
switch_rtp_flag_t
flags
=
0
;
switch_rtp_flag_t
flags
[
SWITCH_RTP_FLAG_INVALID
]
=
{
0
}
;
int
iana
=
0
;
const
char
*
err
=
NULL
;
struct
in_addr
local_ip_addr
=
{
0
};
...
...
src/mod/endpoints/mod_h323/mod_h323.cpp
浏览文件 @
3fe0b471
...
...
@@ -1947,7 +1947,7 @@ PBoolean FSH323_ExternalRTPChannel::Start()
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_DEBUG
,
"======>FSH323_ExternalRTPChannel::Start() [%p]
\n
"
,
this
);
const
char
*
err
=
NULL
;
switch_rtp_flag_t
flags
;
switch_rtp_flag_t
flags
[
SWITCH_RTP_FLAG_INVALID
]
=
{
0
}
;
char
*
timer_name
=
NULL
;
const
char
*
var
;
...
...
@@ -2145,15 +2145,16 @@ PBoolean FSH323_ExternalRTPChannel::Start()
}
if
((
!
m_conn
->
m_startRTP
))
{
flags
=
(
switch_rtp_flag_t
)
(
SWITCH_RTP_FLAG_DATAWAIT
|
SWITCH_RTP_FLAG_RAW_WRITE
);
flags
[
SWITCH_RTP_FLAG_DATAWAIT
]
++
;
flags
[
SWITCH_RTP_FLAG_RAW_WRITE
]
++
;
if
(
mod_h323_globals
.
use_rtp_timer
)
{
flags
|=
SWITCH_RTP_FLAG_USE_TIMER
;
flags
[
SWITCH_RTP_FLAG_USE_TIMER
]
++
;
timer_name
=
mod_h323_globals
.
rtp_timer_name
;
}
else
{
if
((
var
=
switch_channel_get_variable
(
m_fsChannel
,
"timer_name"
)))
{
timer_name
=
(
char
*
)
var
;
flags
|=
SWITCH_RTP_FLAG_USE_TIMER
;
flags
[
SWITCH_RTP_FLAG_USE_TIMER
]
++
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论