-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Public API #12
Comments
What we need so far in the API:
|
We should implement idle mode not later than (simultaneously with) SDP/SAP announcement publishing, otherwise roc sinks would send 2 Mb/s traffic to each discovered sink inputs. Just like pulseaudio does so far. |
Issue for the idle mode: roc-streaming/roc-pulse#22 |
Technically, our public API will provide the following:
libroc will dynamically link all system libraries and statically link all roc modules (like libroc_core.a) and builtin third-party libraries (like libuv.a) enabled with --with-3rdparty option. It should be enough to link just with libroc.so for the user. We also need to export library version in headers and in soname, and use properly naming when installing library (see #35). |
This traffic should be prevented by module-suspend-on-idle. Tunnel sinks and sources should support this as well. Not sure why this didn't work, maybe the module was not loaded or timeout was too high. Need to recheck. We still need to add suspend/resume support for both roc sink and sink input. |
Done.
Will be addressed in separate issues.
Done.
Will be addressed in a separate issue.
Postponed.
Done.
Postponed.
Done. |
Most things were done in #80. IDLE handling will be addressed in roc-streaming/roc-pulse#20 and roc-streaming/roc-pulse#22. Session negotiation and control will be addressed in #34 and #204. Service discovery will be addressed later. |
Hi @gavv, is this tracked anywhere? I found this issue to be the only one tham mentions service discovery. |
@selurvedu Hi! What exactly are you looking for, support in C API? Or in pulseaudio/pipewire modules? |
@gavv I'm looking for possible ways to implement something similar to: https://docs.pipewire.org/page_module_raop_discover.html |
@selurvedu I see. We don't have this. It's actually on roadmap (see You may find useful this tiny implementation of SAP listener: https://github.com/gavv/MiniSAPListener |
roc-streaming/roc-pulse#23 is a good start for gathering requirements for public API.
The text was updated successfully, but these errors were encountered: