Skip to content

Conversation

@maweit
Copy link

@maweit maweit commented Nov 11, 2025

Added audio sender control class and related data types as an example for audio sender properties and descriptors.

Added audio sender control class and related data types to manage audio sender properties and descriptors.
Implement audio sender control class and descriptors
Removed example sender control from root block setup.
@jonathan-r-thorpe
Copy link
Contributor

Hi @maweit. Thank you for your Pull Request - I'll add some review comments to the code.

if (sender_data.has_field(U("subscription"))) snd_control_property_descriptors.push_back(nmos::experimental::make_control_class_property_descriptor(U("subscription"), { 3, 11 }, subscription_property, U("NcSenderObjectType")));
if (sender_data.has_field(U("transport"))) snd_control_property_descriptors.push_back(nmos::experimental::make_control_class_property_descriptor(U("transport"), { 3, 12 }, transport_property, U("NcString")));

auto snd_class_id = nmos::nc::make_class_id(nmos::nc_worker_class_id, 0, { 5 });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make_audio_sender_descriptors actually performs two functions - as well as making the audio sender class and datatype descriptors, it also makes the class_id for the audio sender class - I think I'd rather see the class id passed in as a parameter and then the function is only doing one thing.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense and i changed that. Please review.

maweit and others added 12 commits November 13, 2025 10:56
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Co-authored-by: jonathan-r-thorpe <64410119+jonathan-r-thorpe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants