mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
isolate sdp parser code to the switch_core_media.c
This commit is contained in:
1 parent
052ee0a1fa
commit
6939394530
5 files changed
+25
-10
No files matched your search
+3
-1
@@ -1664,7 +1664,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
|
||||
*err = "Error activating database";
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
switch_core_media_init();
|
||||
switch_scheduler_task_thread_start();
|
||||
|
||||
switch_nat_late_init();
|
||||
@@ -2588,6 +2588,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
|
||||
switch_core_destroy_memory_pool(&IP_LIST.pool);
|
||||
}
|
||||
|
||||
switch_core_media_deinit();
|
||||
|
||||
if (runtime.memory_pool) {
|
||||
apr_pool_destroy(runtime.memory_pool);
|
||||
apr_terminate();
|
||||
|
||||
Reference in new issue
Block a user