mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
FS-7499 FS-7500: combat black screen disease
This commit is contained in:
1 parent
23e0062bc7
commit
a8a2c32ac3
8 files changed
+66
-27
No files matched your search
@@ -361,6 +361,20 @@ SWITCH_DECLARE(void) switch_channel_perform_audio_sync(switch_channel_t *channel
|
||||
}
|
||||
|
||||
|
||||
SWITCH_DECLARE(void) switch_channel_perform_video_sync(switch_channel_t *channel, const char *file, const char *func, int line)
|
||||
{
|
||||
if (switch_channel_media_up(channel)) {
|
||||
switch_core_session_message_t msg = { 0 };
|
||||
msg.message_id = SWITCH_MESSAGE_INDICATE_VIDEO_SYNC;
|
||||
msg.from = channel->name;
|
||||
msg._file = file;
|
||||
msg._func = func;
|
||||
msg._line = line;
|
||||
switch_core_session_receive_message(channel->session, &msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
SWITCH_DECLARE(switch_call_cause_t) switch_channel_cause_q850(switch_call_cause_t cause)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user