Unverified 提交 8c8c7700 authored 作者: José Luis Millán's avatar José Luis Millán 提交者: GitHub

Disable liburing by default (#1253)

Disable liburing by default

While investigating https://github.com/versatica/mediasoup/pull/1201,
disable liburing by default.

In order to enable it, use MESON_ARGS as usual. ie:

MESON_ARGS=-Dms_enable_liburing=true npm install
上级 b986e21e
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
### Next ### Next
* LibUring: Enable liburing usage for SCTP data delivery ([PR 1249](https://github.com/versatica/mediasoup/pull/1249)). * LibUring: Enable liburing usage for SCTP data delivery ([PR 1249](https://github.com/versatica/mediasoup/pull/1249)).
* LibUring: Disable by default ([PR 1253](https://github.com/versatica/mediasoup/pull/1253)).
### 3.13.7 ### 3.13.7
......
...@@ -258,7 +258,7 @@ if host_machine.system() == 'windows' ...@@ -258,7 +258,7 @@ if host_machine.system() == 'windows'
] ]
endif endif
if host_machine.system() == 'linux' if host_machine.system() == 'linux' and get_option('ms_enable_liburing')
kernel_version = run_command('uname', '-r').stdout().strip() kernel_version = run_command('uname', '-r').stdout().strip()
# Enable liburing for kernel versions greather than or equal to 6. # Enable liburing for kernel versions greather than or equal to 6.
......
option('ms_log_trace', type : 'boolean', value : false, description : 'When enabled, logs the current method/function if current log level is "debug"') option('ms_log_trace', type : 'boolean', value : false, description : 'When enabled, logs the current method/function if current log level is "debug"')
option('ms_log_file_line', type : 'boolean', value : false, description : 'When enabled, all the logging macros print more verbose information, including current file and line') option('ms_log_file_line', type : 'boolean', value : false, description : 'When enabled, all the logging macros print more verbose information, including current file and line')
option('ms_rtc_logger_rtp', type : 'boolean', value : false, description : 'When enabled, prints a line with information for each RTP packet') option('ms_rtc_logger_rtp', type : 'boolean', value : false, description : 'When enabled, prints a line with information for each RTP packet')
option('ms_enable_liburing', type : 'boolean', value : false, description : 'When enabled, enables liburing')
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论