From f96d9268788077e1e33ac3f02b3117bac7d12c8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E6=A5=BD=E5=9D=82=E3=83=8B=E3=83=A3=E3=83=B3?= Date: Wed, 10 Jul 2024 05:32:43 +0000 Subject: [PATCH] rm todo --- server/internal/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/internal/service/service.go b/server/internal/service/service.go index 4b835620..f48d5bf0 100644 --- a/server/internal/service/service.go +++ b/server/internal/service/service.go @@ -263,7 +263,7 @@ func (s *MainService) createWorkerManifest(req *common.StartReq) (manifestJsonFi manifestJson, _ = sjson.Set(manifestJson, `predefined_graphs.0.nodes.#(name=="agora_rtc").property.remote_stream_id`, req.RemoteStreamId) } - language := gjson.Get(manifestJson, `predefined_graphs.0.nodes.#(name=="agora_rtc").property.agora_asr_language`).String() //TODO check is correct? not req.AgoraAsrLanguage? + language := gjson.Get(manifestJson, `predefined_graphs.0.nodes.#(name=="agora_rtc").property.agora_asr_language`).String() manifestJson, err = tts.ProcessManifest(manifestJson, common.Language(language), req.VoiceType) if err != nil { slog.Error("handlerStart tts ProcessManifest failed", "err", err, "requestId", req.RequestId, logTag)