obs-outputs: Remove trailing/leading whitespace from key/url
This commit is contained in:
parent
a7ce53367c
commit
2f2cb138bb
@ -648,6 +648,8 @@ static bool init_connect(struct rtmp_stream *stream)
|
||||
dstr_copy(&stream->key, obs_service_get_key(service));
|
||||
dstr_copy(&stream->username, obs_service_get_username(service));
|
||||
dstr_copy(&stream->password, obs_service_get_password(service));
|
||||
dstr_depad(&stream->path);
|
||||
dstr_depad(&stream->key);
|
||||
stream->drop_threshold_usec =
|
||||
(int64_t)obs_data_get_int(settings, OPT_DROP_THRESHOLD) * 1000;
|
||||
stream->max_shutdown_time_sec =
|
||||
|
Loading…
x
Reference in New Issue
Block a user