janus: camera basics

This commit is contained in:
Maxim Devaev
2026-05-31 18:28:53 +03:00
parent 8b76b59393
commit 52dfa38a8f
5 changed files with 22 additions and 27 deletions

View File

@@ -70,6 +70,7 @@ us_config_s *us_config_init(const char *config_dir_path) {
}
}
config->aplay_dev_name = _get_value(jcfg, "aplay", "device");
config->vplay_sink_name = _get_value(jcfg, "vplay", "sink");
goto ok;
@@ -87,6 +88,7 @@ void us_config_destroy(us_config_s *config) {
US_DELETE(config->acap_dev_name, free);
US_DELETE(config->tc358743_dev_path, free);
US_DELETE(config->aplay_dev_name, free);
US_DELETE(config->vplay_sink_name, free);
free(config);
}