diff --git a/basic_room/main.cpp b/basic_room/main.cpp index 59893bc..6d84959 100644 --- a/basic_room/main.cpp +++ b/basic_room/main.cpp @@ -94,7 +94,7 @@ int main(int argc, char* argv[]) { return 1; } if (self_test) { - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); livekit::shutdown(); std::cout << "self-test ok" << std::endl; return 0; @@ -103,7 +103,7 @@ int main(int argc, char* argv[]) { std::signal(SIGINT, handleSignal); // Init LiveKit - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); auto room = std::make_unique(); diff --git a/hello_livekit/receiver/main.cpp b/hello_livekit/receiver/main.cpp index 7e877a5..22f1d42 100644 --- a/hello_livekit/receiver/main.cpp +++ b/hello_livekit/receiver/main.cpp @@ -70,7 +70,7 @@ int main(int argc, char* argv[]) { std::signal(SIGTERM, handleSignal); #endif - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); auto room = std::make_unique(); RoomOptions options; diff --git a/hello_livekit/sender/main.cpp b/hello_livekit/sender/main.cpp index d388f84..5d83a16 100644 --- a/hello_livekit/sender/main.cpp +++ b/hello_livekit/sender/main.cpp @@ -71,7 +71,7 @@ int main(int argc, char* argv[]) { std::signal(SIGTERM, handleSignal); #endif - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); auto room = std::make_unique(); RoomOptions options; diff --git a/ping_pong/ping/main.cpp b/ping_pong/ping/main.cpp index b21c125..2e92dc5 100644 --- a/ping_pong/ping/main.cpp +++ b/ping_pong/ping/main.cpp @@ -85,7 +85,7 @@ int main(int argc, char* argv[]) { std::signal(SIGTERM, handleSignal); #endif - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); auto room = std::make_unique(); RoomOptions options; diff --git a/ping_pong/pong/main.cpp b/ping_pong/pong/main.cpp index 3421779..7692bfc 100644 --- a/ping_pong/pong/main.cpp +++ b/ping_pong/pong/main.cpp @@ -64,7 +64,7 @@ int main(int argc, char* argv[]) { std::signal(SIGTERM, handleSignal); #endif - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); auto room = std::make_unique(); RoomOptions options; diff --git a/simple_data_stream/main.cpp b/simple_data_stream/main.cpp index 1edb2f7..eb474c3 100644 --- a/simple_data_stream/main.cpp +++ b/simple_data_stream/main.cpp @@ -207,7 +207,7 @@ int main(int argc, char* argv[]) { #endif // Initialize the livekit with logging to console. - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); auto room = std::make_unique(); RoomOptions options; options.auto_subscribe = true; diff --git a/simple_joystick/receiver/main.cpp b/simple_joystick/receiver/main.cpp index f227606..67091da 100644 --- a/simple_joystick/receiver/main.cpp +++ b/simple_joystick/receiver/main.cpp @@ -59,7 +59,7 @@ int main(int argc, char* argv[]) { std::cout << "[Receiver] Connecting to: " << url << "\n"; std::signal(SIGINT, handleSignal); - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); auto room = std::make_unique(); RoomOptions options; options.auto_subscribe = true; diff --git a/simple_joystick/sender/main.cpp b/simple_joystick/sender/main.cpp index 128c662..7777326 100644 --- a/simple_joystick/sender/main.cpp +++ b/simple_joystick/sender/main.cpp @@ -127,7 +127,7 @@ int main(int argc, char* argv[]) { std::cout << "[Sender] Connecting to: " << url << "\n"; std::signal(SIGINT, handleSignal); - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); auto room = std::make_unique(); RoomOptions options; options.auto_subscribe = true; diff --git a/simple_rpc/main.cpp b/simple_rpc/main.cpp index 2e22989..42e5c46 100644 --- a/simple_rpc/main.cpp +++ b/simple_rpc/main.cpp @@ -402,7 +402,7 @@ int main(int argc, char* argv[]) { std::signal(SIGINT, handleSignal); // Initialize the livekit with logging to console. - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); auto room = std::make_unique(); RoomOptions options; options.auto_subscribe = true; diff --git a/user_timestamped_video/consumer/main.cpp b/user_timestamped_video/consumer/main.cpp index 291f646..8d52403 100644 --- a/user_timestamped_video/consumer/main.cpp +++ b/user_timestamped_video/consumer/main.cpp @@ -146,7 +146,7 @@ int main(int argc, char* argv[]) { user_timestamped_video::installSignalHandlers(); - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); int exit_code = 0; { diff --git a/user_timestamped_video/producer/main.cpp b/user_timestamped_video/producer/main.cpp index 13830a0..c2b03fc 100644 --- a/user_timestamped_video/producer/main.cpp +++ b/user_timestamped_video/producer/main.cpp @@ -79,7 +79,7 @@ int main(int argc, char* argv[]) { user_timestamped_video::installSignalHandlers(); - livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); + livekit::initialize(livekit::LogLevel::Info); int exit_code = 0; {