Skip to content

Commit

Permalink
rm todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lensual committed Jul 10, 2024
1 parent 287949c commit f96d926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/internal/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f96d926

Please sign in to comment.