mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
[mod_dptools] early video decode and debug
This commit is contained in:
parent
aae2e08cca
commit
c1837909b1
@ -1401,6 +1401,12 @@ SWITCH_STANDARD_APP(answer_function)
|
||||
if (switch_stristr("is_conference", arg)) {
|
||||
switch_channel_set_flag(channel, CF_CONFERENCE);
|
||||
}
|
||||
if (switch_stristr("decode_video", arg)) {
|
||||
switch_channel_set_flag_recursive(channel, CF_VIDEO_DECODED_READ);
|
||||
}
|
||||
if (switch_stristr("debug_video", arg)) {
|
||||
switch_channel_set_flag_recursive(channel, CF_VIDEO_DEBUG_READ);
|
||||
}
|
||||
}
|
||||
|
||||
switch_channel_answer(channel);
|
||||
|
Loading…
x
Reference in New Issue
Block a user