Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
ad1226b5
提交
ad1226b5
authored
2月 04, 2013
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change name to match steves changes in master
上级
4cac512b
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
switch_core_media.h
src/include/switch_core_media.h
+1
-1
mod_sofia.c
src/mod/endpoints/mod_sofia/mod_sofia.c
+3
-3
switch_core_media.c
src/switch_core_media.c
+1
-1
没有找到文件。
src/include/switch_core_media.h
浏览文件 @
ad1226b5
...
...
@@ -217,7 +217,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_process_t38_passthru(switch_co
SWITCH_DECLARE
(
void
)
switch_core_media_gen_local_sdp
(
switch_core_session_t
*
session
,
const
char
*
ip
,
switch_port_t
port
,
const
char
*
sr
,
int
force
);
SWITCH_DECLARE
(
void
)
switch_core_media_set_local_sdp
(
switch_core_session_t
*
session
,
const
char
*
sdp_str
,
switch_bool_t
dup
);
SWITCH_DECLARE
(
void
)
switch_core_media_patch_sdp
(
switch_core_session_t
*
session
);
SWITCH_DECLARE
(
void
)
switch_core_media_set_image_sdp
(
switch_core_session_t
*
session
,
switch_t38_options_t
*
t38_options
,
int
insist
);
SWITCH_DECLARE
(
void
)
switch_core_media_set_
udptl_
image_sdp
(
switch_core_session_t
*
session
,
switch_t38_options_t
*
t38_options
,
int
insist
);
SWITCH_DECLARE
(
void
)
switch_core_media_prepare_codecs
(
switch_core_session_t
*
session
,
switch_bool_t
force
);
SWITCH_DECLARE
(
void
)
switch_core_media_start_udptl
(
switch_core_session_t
*
session
,
switch_t38_options_t
*
t38_options
);
SWITCH_DECLARE
(
switch_status_t
)
switch_core_media_receive_message
(
switch_core_session_t
*
session
,
switch_core_session_message_t
*
msg
);
...
...
src/mod/endpoints/mod_sofia/mod_sofia.c
浏览文件 @
ad1226b5
...
...
@@ -1346,7 +1346,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
switch_core_media_start_udptl
(
tech_pvt
->
session
,
t38_options
);
switch_core_media_set_image_sdp
(
tech_pvt
->
session
,
t38_options
,
msg
->
numeric_arg
);
switch_core_media_set_
udptl_
image_sdp
(
tech_pvt
->
session
,
t38_options
,
msg
->
numeric_arg
);
if
(
!
sofia_test_flag
(
tech_pvt
,
TFLAG_BYE
))
{
char
*
extra_headers
=
sofia_glue_get_extra_headers
(
channel
,
SOFIA_SIP_RESPONSE_HEADER_PREFIX
);
...
...
@@ -1378,7 +1378,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
switch_t38_options_t
*
t38_options
=
switch_channel_get_private
(
tech_pvt
->
channel
,
"t38_options"
);
if
(
t38_options
)
{
switch_core_media_set_image_sdp
(
tech_pvt
->
session
,
t38_options
,
msg
->
numeric_arg
);
switch_core_media_set_
udptl_
image_sdp
(
tech_pvt
->
session
,
t38_options
,
msg
->
numeric_arg
);
if
(
!
switch_channel_test_flag
(
channel
,
CF_PROXY_MEDIA
))
{
switch_channel_set_flag
(
channel
,
CF_REQ_MEDIA
);
...
...
@@ -1918,7 +1918,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
if
(
!
strcasecmp
(
sdp
,
"t38"
))
{
switch_t38_options_t
*
t38_options
=
switch_channel_get_private
(
tech_pvt
->
channel
,
"t38_options"
);
if
(
t38_options
)
{
switch_core_media_set_image_sdp
(
tech_pvt
->
session
,
t38_options
,
0
);
switch_core_media_set_
udptl_
image_sdp
(
tech_pvt
->
session
,
t38_options
,
0
);
if
(
switch_core_media_ready
(
tech_pvt
->
session
,
SWITCH_MEDIA_TYPE_AUDIO
))
{
switch_channel_clear_flag
(
tech_pvt
->
channel
,
CF_NOTIMER_DURING_BRIDGE
);
switch_core_media_udptl_mode
(
tech_pvt
->
session
,
SWITCH_MEDIA_TYPE_AUDIO
);
...
...
src/switch_core_media.c
浏览文件 @
ad1226b5
...
...
@@ -5355,7 +5355,7 @@ SWITCH_DECLARE(void) switch_core_media_absorb_sdp(switch_core_session_t *session
//?
SWITCH_DECLARE
(
void
)
switch_core_media_set_image_sdp
(
switch_core_session_t
*
session
,
switch_t38_options_t
*
t38_options
,
int
insist
)
SWITCH_DECLARE
(
void
)
switch_core_media_set_
udptl_
image_sdp
(
switch_core_session_t
*
session
,
switch_t38_options_t
*
t38_options
,
int
insist
)
{
char
buf
[
2048
]
=
""
;
char
max_buf
[
128
]
=
""
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论