diff --git a/buildspec.json b/buildspec.json index 4d20060..6c95029 100644 --- a/buildspec.json +++ b/buildspec.json @@ -33,11 +33,11 @@ }, "platformConfig": { "macos": { - "bundleId": "com.royshilkrot.obs-cloudvocal" + "bundleId": "com.royshilkrot.cloudvocal" } }, - "name": "obs-cloudvocal", - "displayName": "Realtime Professional-Grade Cloud Transcription and Translation for OBS", + "name": "cloudvocal", + "displayName": "Realtime Professional-Grade Cloud Transcription and Translation Plugin", "version": "0.0.1", "author": "Roy Shilkrot", "website": "https://locaal.ai", diff --git a/src/cloud-providers/clova/clova-provider.cpp b/src/cloud-providers/clova/clova-provider.cpp index c24fa8a..99cdf21 100644 --- a/src/cloud-providers/clova/clova-provider.cpp +++ b/src/cloud-providers/clova/clova-provider.cpp @@ -18,10 +18,16 @@ bool ClovaProvider::init() { // Initialize the Clova provider obs_log(gf->log_level, "Initializing Clova provider"); + // Add your initialization code here chunk_id = 1; initialized = false; + if (gf->cloud_provider_api_key.empty()) { + obs_log(LOG_ERROR, "Clova API key is empty"); + return false; + } + grpc::SslCredentialsOptions ssl_opts; this->channel = grpc::CreateChannel("clovaspeech-gw.ncloud.com:50051", grpc::SslCredentials(ssl_opts)); diff --git a/src/cloudvocal.h b/src/cloudvocal.h index 17cf212..9accf1d 100644 --- a/src/cloudvocal.h +++ b/src/cloudvocal.h @@ -20,7 +20,7 @@ void cloudvocal_show(void *data); void cloudvocal_hide(void *data); const char *const PLUGIN_INFO_TEMPLATE = - "CloudVocal ({{plugin_version}}) by " + "CloudVocal ({{plugin_version}}) by " "Locaal AI ❤️ " "Support & Follow"; diff --git a/src/plugin-main.c b/src/plugin-main.c index fcbaaa6..4d8bc49 100644 --- a/src/plugin-main.c +++ b/src/plugin-main.c @@ -1,5 +1,5 @@ /* -obs-cloudvocal +cloudvocal Copyright (C) 2024 Roy Shilkrot roy.shil@gmail.com This program is free software; you can redistribute it and/or modify diff --git a/src/plugin-support.c.in b/src/plugin-support.c.in index 7390667..c52e7be 100644 --- a/src/plugin-support.c.in +++ b/src/plugin-support.c.in @@ -1,5 +1,5 @@ /* -obs-cloudvocal +cloudvocal Copyright (C) 2024 Roy Shilkrot roy.shil@gmail.com This program is free software; you can redistribute it and/or modify diff --git a/src/plugin-support.h b/src/plugin-support.h index 8aec409..46a116a 100644 --- a/src/plugin-support.h +++ b/src/plugin-support.h @@ -1,5 +1,5 @@ /* -obs-cloudvocal +cloudvocal Copyright (C) 2024 Roy Shilkrot roy.shil@gmail.com This program is free software; you can redistribute it and/or modify