mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Pass launch_session_t directly into session::alloc()
This commit is contained in:
@@ -796,7 +796,7 @@ namespace rtsp_stream {
|
||||
return;
|
||||
}
|
||||
|
||||
auto session = stream::session::alloc(config, launch_session->gcm_key, launch_session->iv, launch_session->av_ping_payload, launch_session->control_connect_data);
|
||||
auto session = stream::session::alloc(config, *launch_session);
|
||||
|
||||
auto slot = server->accept(session);
|
||||
if (!slot) {
|
||||
|
||||
Reference in New Issue
Block a user