it has been quite for a while.
This is a preliminary question without working on a project yet.
I have a process running on a host that receives a UDP unicast/RTP/Opus encoded voice signal that is decoded to the earpeace of an ordinary telephone handset. ( http://www.pogo.org.uk/~mark/trx/ )
Now I am facing the need to record this UDP stream on the same host.
I read about uos_AddFromURL(); Is it possible to use an IP adress and a UDP port number with this function?
The second question is about basic IP: Is it possible to receive the same socket (unicast) on the same host with two different processes? From my basic IP knowledge I would say NO.
My basic approach to this problem was to have the stream decoded to analogue , split it and re-encode it with UOS on a different sound card. It would require some additional circuitry on the analogue side and is perfectly feasible. But the direct approach would be more elegant.