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 IParser #737

Open gavv opened 4 months ago

gavv commented 4 months ago

Summary

packet::IParser is interface for protocol-specific deserializators. 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

sprinkuls commented 1 month ago

hey, is it alright if i take this up?

gavv commented 1 month ago

@sprinkuls Sure, thanks!