mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-10241: Convert sofia_send_info_vid_refresh to a chanvar.
This commit is contained in:
parent
d157cbab12
commit
70dd9727ee
@ -1529,7 +1529,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
|||||||
|
|
||||||
case SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ:
|
case SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ:
|
||||||
if (switch_channel_media_up(channel) && !switch_channel_test_flag(channel, CF_AVPF) &&
|
if (switch_channel_media_up(channel) && !switch_channel_test_flag(channel, CF_AVPF) &&
|
||||||
switch_true(switch_core_get_variable("sofia_send_info_vid_refresh"))) {
|
switch_channel_var_true(channel, "sofia_send_info_vid_refresh")) {
|
||||||
const char *pl = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<media_control><vc_primitive><to_encoder><picture_fast_update /></to_encoder></vc_primitive></media_control>\n";
|
const char *pl = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<media_control><vc_primitive><to_encoder><picture_fast_update /></to_encoder></vc_primitive></media_control>\n";
|
||||||
switch_time_t now = switch_micro_time_now();
|
switch_time_t now = switch_micro_time_now();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user