mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
FS-7601 improve opus packet loss routines #resolve
This commit is contained in:
1 parent
90bae91af7
commit
6bb8ee321a
9 files changed
+128
-93
No files matched your search
@@ -269,6 +269,13 @@ static switch_status_t rtc_receive_event(switch_core_session_t *session, switch_
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static stfu_instance_t *rtc_get_jb(switch_core_session_t *session, switch_media_type_t type)
|
||||
{
|
||||
private_object_t *tech_pvt = (private_object_t *) switch_core_session_get_private(session);
|
||||
|
||||
return switch_core_media_get_jb(tech_pvt->session, type);
|
||||
}
|
||||
|
||||
switch_io_routines_t rtc_io_routines = {
|
||||
/*.outgoing_channel */ rtc_outgoing_channel,
|
||||
/*.read_frame */ rtc_read_frame,
|
||||
@@ -281,7 +288,7 @@ switch_io_routines_t rtc_io_routines = {
|
||||
/*.read_video_frame */ rtc_read_video_frame,
|
||||
/*.write_video_frame */ rtc_write_video_frame,
|
||||
/*.state_run*/ NULL,
|
||||
/*.get_jb*/ NULL
|
||||
/*.get_jb*/ rtc_get_jb
|
||||
};
|
||||
|
||||
switch_state_handler_table_t rtc_event_handlers = {
|
||||
|
||||
Reference in new issue
Block a user