[Pipewire-devel] Fwd: Real-time question

Wim Taymans wim.taymans at gmail.com
Tue Jun 8 08:52:23 UTC 2021


On Thu, 3 Jun 2021 at 17:52, Ophiuchia <ophiuchia at gmail.com> wrote:
>
> Dear Wim,
> Thank you for the information, this is very helpful.
> Yes, the idea would be to exchange rt signals from (initially 2) devices but with potential to add more nodes (similar to pro-audio that connects to edge interfaces/speakers/etc via AVB/TSN).
> (i) Is it possible to treat control signals as "audio streams" or is there a need to introduce a new class of signals from the start?

PipeWire has a native control stream. It can contain any timed data.
It's used for MIDI but you can make new types and
embed this in the control stream.

> (ii) What would be the best low-latency API to interface pipewire with a client software? "Native" pipewire or maybe jack?

I would recommend the pw-filter API, it is like the JACK client but
also supports the control streams I talked about above.

> (iii) Focusing on non-TSN Ethernet to start, what is the best low-latency Ethernet interface avaliable?

I have no idea,

Wim

> Thank you again,
> Ophiuchia
>
> On Thu, Jun 3, 2021 at 8:19 AM Wim Taymans <wim.taymans at gmail.com> wrote:
>>
>> Hi,
>>
>> > I would like to ask if pipewire can be used (or developed into) for real-time control tasks (similar to the development of Ethernet AVB to TSN)?
>>
>> Maybe yes. If it's about reading data from ethernet and processing it
>> in a graph, it could fit..
>>
>> > Related, I would like to ask if (i) pipewire is compatible with the PREEMPT-RT patches?
>>
>> Yes
>>
>> >  pipewire can interface (or can be made to) interface with Ethernet TSN?
>>
>> It can't but it could be implemented.
>>
>> Wim
>>
>>
>> On Wed, 2 Jun 2021 at 21:09, Ophiuchia <ophiuchia at gmail.com> wrote:
>> >
>> > Dear Pipewire-Devel List Members,
>> >
>> > I would like to ask if pipewire can be used (or developed into) for real-time control tasks (similar to the development of Ethernet AVB to TSN)?
>> >
>> > Related, I would like to ask if (i) pipewire is compatible with the PREEMPT-RT patches? and (ii) pipewire can interface (or can be made to) interface with Ethernet TSN?
>> >
>> > We have a need for a framework that can access Ethernet TSN information and execute in real time. We'd be happy to contribute if this is feasible and this is of relevance.
>> >
>> > Thank you in advance,
>> > Ophiuchia
>> >
>> > _______________________________________________
>> > Pipewire-devel mailing list
>> > Pipewire-devel at lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/pipewire-devel


More information about the Pipewire-devel mailing list