Merge pull request #997 from seven1240/answer-decode-debug-video

[mod_dptools] early video decode and debug
This commit is contained in:
Andrey Volk 2020-12-17 21:26:45 +04:00 committed by GitHub
commit 9368ed0d1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);