-
Notifications
You must be signed in to change notification settings - Fork 124
RSDK-12146 Add AudioIn Component #5369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
go.mod
Outdated
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c | ||
) | ||
|
||
replace go.viam.com/api => ../api |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will change this once viamrobotics/api#761 is merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that this was already merged viamrobotics/api#761, can this like be updated?
@oliviamiller Would you mind adding link to POC implementation in the desc? |
done | ||
if $is_cgo_path; then | ||
if grep -Fq "$expectedImport" register_apis/* 2>/dev/null; then | ||
echo "Detected restricted cgo import '$expectedImport' in 'rdk/$p/register_apis'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to edit this lint script bc it was just matching substring so thought audioin was a cgo package
return nil, err | ||
} | ||
|
||
// receive one chunk outside of the goroutine to catch any errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Realized I had a bug with client error handling so this is different than first review
Add AudioIn component to RDK.
Tested using the audio module POC, confirmed that the stream shuts down correctly when closing from both client and server side.