roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.09k stars 213 forks source link

Return status code instead of bool in IComposer #766

Open gavv opened 3 months ago

gavv commented 3 months ago

Summary

packet::IComposer is interface for protocol-specific serializators. See documentation.

Currently its methods return bool (true on success or false on error). We need to replace bool with status::StatusCode and return code that described why the operation failed.

Implementation

Testing

ronazf commented 1 month ago

Hi @gavv, I'd be happy to help with this issue.

gavv commented 1 month ago

@ronazf Thanks, welcome!