We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ddbac commit 08e96f6Copy full SHA for 08e96f6
src/viam/sdk/components/private/audio_in_server.cpp
@@ -18,7 +18,7 @@ ::grpc::Status AudioInServer::GetAudio(
18
::grpc::ServerWriter<::viam::component::audioin::v1::GetAudioResponse>* writer) noexcept {
19
make_service_helper<AudioIn>(
20
"AudioInServer::GetAudio", this, request)([&](auto& helper, auto& audio_in) {
21
- std::string request_id = boost::uuids::to_string(boost::uuids::random_generator()());
+ const std::string request_id = boost::uuids::to_string(boost::uuids::random_generator()());
22
auto writeChunk = [writer, context, request_id](AudioIn::audio_chunk&& chunk) {
23
if (context->IsCancelled()) {
24
// send bool to tell the resource to stop calling the callback function.
0 commit comments