mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 14:14:16 +00:00
[core, mod_verto] double udp buffer for audio, add verto command for video refresh
This commit is contained in:
1 parent
cf15e7ddd9
commit
8c351a4667
2 files changed
+12
-6
No files matched your search
@@ -3323,8 +3323,11 @@ static switch_bool_t verto__modify_func(const char *method, cJSON *params, jsock
|
||||
|
||||
if ((session = switch_core_session_locate(call_id))) {
|
||||
tech_pvt = switch_core_session_get_private_class(session, SWITCH_PVT_SECONDARY);
|
||||
|
||||
if (!strcasecmp(action, "updateMedia")) {
|
||||
|
||||
if (!strcasecmp(action, "videoRefresh")) {
|
||||
switch_core_media_gen_key_frame(tech_pvt->session);
|
||||
switch_channel_set_flag(tech_pvt->channel, CF_VIDEO_REFRESH_REQ);
|
||||
} else if (!strcasecmp(action, "updateMedia")) {
|
||||
const char *sdp = NULL;
|
||||
uint8_t match = 0, p = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user