Phil,
It sounds like for some reason Opus isn't picking up both inputs on your
sound card.
I don't know if this will help, but have you tried creating a
~/.asoundrc file specifying the channels? Something like the following:
pcm.!default {
type plug
slave {
pcm "hw:1"
channels 2
format S16_LE
rate 48000
}
}
Also, my reasoning for trying it with Jack is that sometimes Jack will
pick up both inputs on a USB sound card whereas straight ALSA won't. I
know that Jack does eat up CPU cycles, but if it'll work with Jack but
you can't make it work with straight ALSA, then this might be a
solution, at least for testing.
Lorne
>
> Hi Lorne,
>
> Thanks for getting back to me.
>
>
>
> When I use opus, the transmitter is sending mono. The receiver is decoding stereo but
the audio is truly mono as removing the left input to the transmitter causes both channels
to drop. Also, there is only one channel shown in the level displays. This is shown in the
first two logs. In the third and fourth logs, using pcm, the transmitter is showing a
stereo channel and the receiver is decoding two channels. This is also seen in the two
channels reported by both ends in the level displays.
>
>
>
> I do not want to increase complexity and decrease cpu overhead by adding Jack just to
make this link work correctly. This will be a critical STL link and it has to be robust.
The same applies to pcm, it requires too high of a bitrate and will drop packets when the
network gets congested. Opus is essential to reduce the rate to keep packet loss as low as
possible.
>
>
>
> I have noticed that when I plug one of the Behringer UCA202s into my windows 10 PC
that it records in mono as well. Yet I can get a stereo link with OB on the Pis.
>
>
>
> I’m wondering if it’s an interaction between opus in OB and the codec? Is there a way
to get this working?
>
>
>
> Phil
>
>
>
> > On Jun 24, 2020, at 8:24 PM, Lorne Tyndale <ltyndale(a)tyndaleweb.com>
wrote:
>
> >
>
> > Phil,
>
> >
>
> > When I look through the logs you attached, on the Opus receiver it
>
> > claims it is receiving stereo audio:
>
> >
>
> > 2020-06-24 15:52:45,360 - openob.node.test-rx-node.link.test-link.rx -
>
> > INFO - Receiving stereo audio transmission
>
> >
>
> > I also see in the transmission it claims it is sending mono:
>
> >
>
> > 2020-06-24 13:51:51,228 - openob.node.test-tx-node.link.test-link.tx -
>
> > INFO - Started mono audio transmission
>
> >
>
> > Is it possible that you are actually sending stereo and the transmission
>
> > notice claiming to be mono is just incorrect?
>
> >
>
> > Also, I know it takes up more cpu cycles, but have you tried running
>
> > your audio through Jack on the transmission end?
>
> >
>
> > Lorne
>
> >
>
> >
>
> >> -------- Original Message --------
>
> >> Subject: [openob-users] OB and Behringer UCA202
>
> >> From: "Phil Biehl" <fylbeall(a)gmail.com>
>
> >> Date: Wed, June 24, 2020 5:07 pm
>
> >> To: "'James Harrison'" <james(a)talkunafraid.co.uk>uk>,
>
> >> <openob-users(a)lists.talkunafraid.co.uk>
>
> >>
>
> >>
>
> >> Hello All,
>
> >>
>
> >> Late last year I spent a lot of time trying to get OB working on a pair of
Raspberry Pi3s. I communicated with you all on the list to try to get by the “My Mono
Problem” I was having and eventually gave up. I'm back now trying again to get this to
work for a community radio station (KBOO) backup STL that’s really needed. My
configuration is: Raspberry Pi3B+, Behringer UCA202, OB V4.0.3 running under the current
version of Raspberry Pi OS (32-bit) Lite, Kernel Version 4.19. This time I have had a bit
more success in that I have been able to get a stereo link established by running the
transmitter in PCM mode. However, when I try to use OPUS encoding the link is established
but it is again in mono.
>
> >>
>
> >>
>
> >>
>
> >> How can I get a stereo link using OPUS encoding? Help please!
>
> >>
>
> >>
>
> >>
>
> >> Thanks,
>
> >> Phil
>
> >>
>
> >>
>
> >>
>
> >> Here's terminal output for PCM Transmitter side:
>
> >>
>
> >> pi@OpenOB-TX:~ $ openob -v 192.168.0.162 test-tx-node test-link tx
192.168.0.162 -d hw:1 -a alsa -r 48000 -j 1000 -e pcm
>
> >>
>
> >> 2020-06-24 13:47:48,561 - openob.link.test-link.config - INFO - Connecting
to configuration host 192.168.0.162
>
> >>
>
> >> 2020-06-24 13:47:48,567 - openob.link.test-link.config - DEBUG - Set
openob:test-link:name to test-link
>
> >>
>
> >> 2020-06-24 13:47:48,568 - openob.link.test-link.config - DEBUG - Set
openob:test-link:port to 3000
>
> >>
>
> >> 2020-06-24 13:47:48,570 - openob.link.test-link.config - DEBUG - Set
openob:test-link:jitter_buffer to 1000
>
> >>
>
> >> 2020-06-24 13:47:48,571 - openob.link.test-link.config - DEBUG - Set
openob:test-link:encoding to pcm
>
> >>
>
> >> 2020-06-24 13:47:48,572 - openob.link.test-link.config - DEBUG - Set
openob:test-link:bitrate to 128
>
> >>
>
> >> 2020-06-24 13:47:48,574 - openob.link.test-link.config - DEBUG - Set
openob:test-link:multicast to 0
>
> >>
>
> >> 2020-06-24 13:47:48,576 - openob.link.test-link.config - DEBUG - Set
openob:test-link:input_samplerate to 48000
>
> >>
>
> >> 2020-06-24 13:47:48,577 - openob.link.test-link.config - DEBUG - Set
openob:test-link:receiver_host to 192.168.0.162
>
> >>
>
> >> 2020-06-24 13:47:48,579 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_framesize to 20
>
> >>
>
> >> 2020-06-24 13:47:48,581 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_complexity to 9
>
> >>
>
> >> 2020-06-24 13:47:48,582 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_fec to 1
>
> >>
>
> >> 2020-06-24 13:47:48,584 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_loss_expectation to 0
>
> >>
>
> >> 2020-06-24 13:47:48,585 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_dtx to 0
>
> >>
>
> >> 2020-06-24 13:47:48,586 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Set mode to tx
>
> >>
>
> >> 2020-06-24 13:47:48,586 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Set type to alsa
>
> >>
>
> >> 2020-06-24 13:47:48,586 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Set samplerate to 48000
>
> >>
>
> >> 2020-06-24 13:47:48,586 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 13:47:48,587 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Set alsa_device to hw:1
>
> >>
>
> >> 2020-06-24 13:47:48,588 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 13:47:48,588 - openob.node.test-tx-node - INFO - Link test-link
initial setup start on test-tx-node
>
> >>
>
> >> 2020-06-24 13:47:48,590 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 13:47:48,591 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched mode, got tx
>
> >>
>
> >> 2020-06-24 13:47:48,591 - openob.node.test-tx-node.link.test-link - INFO -
Starting up transmitter
>
> >>
>
> >> 2020-06-24 13:47:48,593 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 13:47:48,593 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched mode, got tx
>
> >>
>
> >> 2020-06-24 13:47:48,594 - openob.node.test-tx-node.link.test-link.tx - INFO
- Creating transmission pipeline
>
> >>
>
> >> 2020-06-24 13:47:48,595 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Building audio input bin
>
> >>
>
> >> 2020-06-24 13:47:48,595 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 13:47:48,595 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 13:47:48,606 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched alsa_device, got hw:1
>
> >>
>
> >> 2020-06-24 13:47:48,621 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched samplerate, got 48000
>
> >>
>
> >> 2020-06-24 13:47:48,622 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched samplerate, got 48000
>
> >>
>
> >> 2020-06-24 13:47:48,623 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- audio/x-raw, rate=(int)48000
>
> >>
>
> >> 2020-06-24 13:47:48,628 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Building encoder bin
>
> >>
>
> >> 2020-06-24 13:47:48,631 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:encoding, got pcm
>
> >>
>
> >> 2020-06-24 13:47:48,632 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:encoding, got pcm
>
> >>
>
> >> 2020-06-24 13:47:48,643 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Building RTP transport bin
>
> >>
>
> >> 2020-06-24 13:47:48,661 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:receiver_host, got 192.168.0.162
>
> >>
>
> >> 2020-06-24 13:47:48,663 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:port, got 3000
>
> >>
>
> >> 2020-06-24 13:47:48,671 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:receiver_host, got 192.168.0.162
>
> >>
>
> >> 2020-06-24 13:47:48,674 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:port, got 3000
>
> >>
>
> >> 2020-06-24 13:47:48,674 - openob.node.test-tx-node.link.test-link.tx - INFO
- Set receiver to 192.168.0.162:3000
>
> >>
>
> >> 2020-06-24 13:47:48,677 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:multicast, got False
>
> >>
>
> >> 2020-06-24 13:47:48,692 - openob.node.test-tx-node.link.test-link.tx -
WARNING - Waiting for audio interface/caps
>
> >>
>
> >> 2020-06-24 13:47:48,794 - openob.node.test-tx-node.link.test-link - DEBUG -
Got caps from transmitter, setting config
>
> >>
>
> >> 2020-06-24 13:47:48,796 - openob.link.test-link.config - DEBUG - Set
openob:test-link:caps to application/x-rtp, media=(string)audio, clock-rate=(int)48000,
encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2, payload=(int)96,
ssrc=(uint)2214917403, timestamp-offset=(uint)373598967, seqnum-offset=(uint)27244
>
> >>
>
> >> 2020-06-24 13:47:49,717 - openob.node.test-tx-node.link.test-link.tx - INFO
- Started stereo audio transmission
>
> >>
>
> >> 2020-06-24 13:47:50,716 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Levels: L -1.10 R -6.90
>
> >>
>
> >> 2020-06-24 13:47:51,716 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Levels: L -1.17 R -0.68
>
> >>
>
> >> 2020-06-24 13:47:52,716 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Levels: L -2.71 R -0.64
>
> >>
>
> >> 2020-06-24 13:47:53,716 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Levels: L -2.75 R -0.79
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >> Here's terminal output for PCM Receiver side:
>
> >>
>
> >> pi@OpenOB-RX:~ $ openob -v 192.168.0.162 test-rx-node test-link rx -d hw:1
-a alsa
>
> >>
>
> >> 2020-06-24 15:48:06,456 - openob.link.test-link.config - INFO - Connecting
to configuration host 192.168.0.162
>
> >>
>
> >> 2020-06-24 15:48:06,461 - openob.link.test-link.config - DEBUG - Set
openob:test-link:name to test-link
>
> >>
>
> >> 2020-06-24 15:48:06,461 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Set mode to rx
>
> >>
>
> >> 2020-06-24 15:48:06,462 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Set type to alsa
>
> >>
>
> >> 2020-06-24 15:48:06,462 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 15:48:06,462 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Set alsa_device to hw:1
>
> >>
>
> >> 2020-06-24 15:48:06,463 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 15:48:06,464 - openob.node.test-rx-node - INFO - Link test-link
initial setup start on test-rx-node
>
> >>
>
> >> 2020-06-24 15:48:06,465 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 15:48:06,465 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched mode, got rx
>
> >>
>
> >> 2020-06-24 15:48:06,465 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched mode, got rx
>
> >>
>
> >> 2020-06-24 15:48:06,466 - openob.node.test-rx-node.link.test-link - INFO -
Waiting for transmitter capabilities...
>
> >>
>
> >> 2020-06-24 15:48:06,466 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:caps, got application/x-rtp, media=(string)audio, clock-rate=(int)48000,
encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2, payload=(int)96,
ssrc=(uint)2214917403, timestamp-offset=(uint)373598967, seqnum-offset=(uint)27244
>
> >>
>
> >> 2020-06-24 15:48:06,467 - openob.link.test-link.config - DEBUG - Fetched
(blocking) caps, got application/x-rtp, media=(string)audio, clock-rate=(int)48000,
encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2, payload=(int)96,
ssrc=(uint)2214917403, timestamp-offset=(uint)373598967, seqnum-offset=(uint)27244
>
> >>
>
> >> 2020-06-24 15:48:06,467 - openob.node.test-rx-node.link.test-link - INFO -
Got caps from transmitter
>
> >>
>
> >> 2020-06-24 15:48:06,467 - openob.node.test-rx-node.link.test-link - INFO -
Starting up receiver
>
> >>
>
> >> 2020-06-24 15:48:06,468 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 15:48:06,468 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched mode, got rx
>
> >>
>
> >> 2020-06-24 15:48:06,469 - openob.node.test-rx-node.link.test-link.rx - INFO
- Creating reception pipeline
>
> >>
>
> >> 2020-06-24 15:48:06,470 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Building RTP transport bin
>
> >>
>
> >> 2020-06-24 15:48:06,472 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:caps, got application/x-rtp, media=(string)audio, clock-rate=(int)48000,
encoding-name=(string)L16, encoding-params=(string)2, channels=(int)2, payload=(int)96,
ssrc=(uint)2214917403, timestamp-offset=(uint)373598967, seqnum-offset=(uint)27244
>
> >>
>
> >> 2020-06-24 15:48:06,479 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:port, got 3000
>
> >>
>
> >> 2020-06-24 15:48:06,481 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:multicast, got False
>
> >>
>
> >> 2020-06-24 15:48:06,487 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:jitter_buffer, got 1000
>
> >>
>
> >> 2020-06-24 15:48:06,503 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Building decoder bin
>
> >>
>
> >> 2020-06-24 15:48:06,505 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:encoding, got pcm
>
> >>
>
> >> 2020-06-24 15:48:06,506 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:encoding, got pcm
>
> >>
>
> >> 2020-06-24 15:48:06,509 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Building audio output bin
>
> >>
>
> >> 2020-06-24 15:48:06,511 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 15:48:06,512 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 15:48:06,521 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched alsa_device, got hw:1
>
> >>
>
> >> 2020-06-24 15:48:06,556 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:receiver_host, got 192.168.0.162
>
> >>
>
> >> 2020-06-24 15:48:06,558 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:port, got 3000
>
> >>
>
> >> 2020-06-24 15:48:06,559 - openob.node.test-rx-node.link.test-link.rx - INFO
- Listening for stream on 192.168.0.162:3000
>
> >>
>
> >> 2020-06-24 15:48:08,359 - openob.node.test-rx-node.link.test-link.rx - INFO
- Receiving stereo audio transmission
>
> >>
>
> >> 2020-06-24 15:48:09,358 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -1.41 R -1.36
>
> >>
>
> >> 2020-06-24 15:48:10,358 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -1.94 R 0.00
>
> >>
>
> >> 2020-06-24 15:48:11,358 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -0.10 R -0.00
>
> >>
>
> >> 2020-06-24 15:48:12,358 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -0.95 R -0.51
>
> >>
>
> >> 2020-06-24 15:48:13,358 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -0.77 R -0.21
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >> Here's terminal output for PCM Transmitter side:
>
> >>
>
> >> pi@OpenOB-TX:~ $ openob -v 192.168.0.162 test-tx-node test-link tx
192.168.0.162 -d hw:1 -a alsa -r 48000 -j 1000 -e opus
>
> >>
>
> >> 2020-06-24 13:51:50,054 - openob.link.test-link.config - INFO - Connecting
to configuration host 192.168.0.162
>
> >>
>
> >> 2020-06-24 13:51:50,060 - openob.link.test-link.config - DEBUG - Set
openob:test-link:name to test-link
>
> >>
>
> >> 2020-06-24 13:51:50,061 - openob.link.test-link.config - DEBUG - Set
openob:test-link:port to 3000
>
> >>
>
> >> 2020-06-24 13:51:50,062 - openob.link.test-link.config - DEBUG - Set
openob:test-link:jitter_buffer to 1000
>
> >>
>
> >> 2020-06-24 13:51:50,064 - openob.link.test-link.config - DEBUG - Set
openob:test-link:encoding to opus
>
> >>
>
> >> 2020-06-24 13:51:50,065 - openob.link.test-link.config - DEBUG - Set
openob:test-link:bitrate to 128
>
> >>
>
> >> 2020-06-24 13:51:50,067 - openob.link.test-link.config - DEBUG - Set
openob:test-link:multicast to 0
>
> >>
>
> >> 2020-06-24 13:51:50,069 - openob.link.test-link.config - DEBUG - Set
openob:test-link:input_samplerate to 48000
>
> >>
>
> >> 2020-06-24 13:51:50,071 - openob.link.test-link.config - DEBUG - Set
openob:test-link:receiver_host to 192.168.0.162
>
> >>
>
> >> 2020-06-24 13:51:50,072 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_framesize to 20
>
> >>
>
> >> 2020-06-24 13:51:50,074 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_complexity to 9
>
> >>
>
> >> 2020-06-24 13:51:50,075 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_fec to 1
>
> >>
>
> >> 2020-06-24 13:51:50,077 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_loss_expectation to 0
>
> >>
>
> >> 2020-06-24 13:51:50,078 - openob.link.test-link.config - DEBUG - Set
openob:test-link:opus_dtx to 0
>
> >>
>
> >> 2020-06-24 13:51:50,079 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Set mode to tx
>
> >>
>
> >> 2020-06-24 13:51:50,079 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Set type to alsa
>
> >>
>
> >> 2020-06-24 13:51:50,079 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Set samplerate to 48000
>
> >>
>
> >> 2020-06-24 13:51:50,079 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 13:51:50,079 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Set alsa_device to hw:1
>
> >>
>
> >> 2020-06-24 13:51:50,081 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 13:51:50,082 - openob.node.test-tx-node - INFO - Link test-link
initial setup start on test-tx-node
>
> >>
>
> >> 2020-06-24 13:51:50,083 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 13:51:50,084 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched mode, got tx
>
> >>
>
> >> 2020-06-24 13:51:50,084 - openob.node.test-tx-node.link.test-link - INFO -
Starting up transmitter
>
> >>
>
> >> 2020-06-24 13:51:50,085 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 13:51:50,086 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched mode, got tx
>
> >>
>
> >> 2020-06-24 13:51:50,086 - openob.node.test-tx-node.link.test-link.tx - INFO
- Creating transmission pipeline
>
> >>
>
> >> 2020-06-24 13:51:50,087 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Building audio input bin
>
> >>
>
> >> 2020-06-24 13:51:50,088 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 13:51:50,088 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 13:51:50,098 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched alsa_device, got hw:1
>
> >>
>
> >> 2020-06-24 13:51:50,114 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched samplerate, got 48000
>
> >>
>
> >> 2020-06-24 13:51:50,115 - openob.node.test-tx-node.audio_interface.default -
DEBUG - Fetched samplerate, got 48000
>
> >>
>
> >> 2020-06-24 13:51:50,117 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- audio/x-raw, rate=(int)48000
>
> >>
>
> >> 2020-06-24 13:51:50,123 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Building encoder bin
>
> >>
>
> >> 2020-06-24 13:51:50,125 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:encoding, got opus
>
> >>
>
> >> 2020-06-24 13:51:50,137 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:bitrate, got 128
>
> >>
>
> >> 2020-06-24 13:51:50,140 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:opus_framesize, got 20
>
> >>
>
> >> 2020-06-24 13:51:50,144 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:opus_complexity, got 9
>
> >>
>
> >> 2020-06-24 13:51:50,146 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:opus_fec, got False
>
> >>
>
> >> 2020-06-24 13:51:50,148 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:opus_loss_expectation, got 0
>
> >>
>
> >> 2020-06-24 13:51:50,150 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:opus_dtx, got False
>
> >>
>
> >> 2020-06-24 13:51:50,157 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Building RTP transport bin
>
> >>
>
> >> 2020-06-24 13:51:50,177 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:receiver_host, got 192.168.0.162
>
> >>
>
> >> 2020-06-24 13:51:50,179 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:port, got 3000
>
> >>
>
> >> 2020-06-24 13:51:50,181 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:receiver_host, got 192.168.0.162
>
> >>
>
> >> 2020-06-24 13:51:50,183 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:port, got 3000
>
> >>
>
> >> 2020-06-24 13:51:50,184 - openob.node.test-tx-node.link.test-link.tx - INFO
- Set receiver to 192.168.0.162:3000
>
> >>
>
> >> 2020-06-24 13:51:50,186 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:multicast, got False
>
> >>
>
> >> 2020-06-24 13:51:50,205 - openob.node.test-tx-node.link.test-link.tx -
WARNING - Waiting for audio interface/caps
>
> >>
>
> >> 2020-06-24 13:51:50,307 - openob.node.test-tx-node.link.test-link - DEBUG -
Got caps from transmitter, setting config
>
> >>
>
> >> 2020-06-24 13:51:50,309 - openob.link.test-link.config - DEBUG - Set
openob:test-link:caps to application/x-rtp, media=(string)audio, clock-rate=(int)48000,
encoding-name=(string)OPUS, sprop-maxcapturerate=(string)48000, sprop-stereo=(string)0,
payload=(int)96, encoding-params=(string)2, ssrc=(uint)2919919452,
timestamp-offset=(uint)3754439394, seqnum-offset=(uint)23680
>
> >>
>
> >> 2020-06-24 13:51:51,228 - openob.node.test-tx-node.link.test-link.tx - INFO
- Started mono audio transmission
>
> >>
>
> >> 2020-06-24 13:51:52,227 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Level: -3.87
>
> >>
>
> >> 2020-06-24 13:51:53,227 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Level: -6.10
>
> >>
>
> >> 2020-06-24 13:51:54,227 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Level: -2.67
>
> >>
>
> >> 2020-06-24 13:51:55,227 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Level: -2.15
>
> >>
>
> >> 2020-06-24 13:51:56,230 - openob.node.test-tx-node.link.test-link.tx - DEBUG
- Level: -5.27
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >>
>
> >> Here's terminal output for Opus Receiver side:
>
> >>
>
> >> pi@OpenOB-RX:~ $ openob -v 192.168.0.162 test-rx-node test-link rx -d hw:1
-a alsa
>
> >>
>
> >> 2020-06-24 15:52:43,330 - openob.link.test-link.config - INFO - Connecting
to configuration host 192.168.0.162
>
> >>
>
> >> 2020-06-24 15:52:43,334 - openob.link.test-link.config - DEBUG - Set
openob:test-link:name to test-link
>
> >>
>
> >> 2020-06-24 15:52:43,335 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Set mode to rx
>
> >>
>
> >> 2020-06-24 15:52:43,335 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Set type to alsa
>
> >>
>
> >> 2020-06-24 15:52:43,335 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 15:52:43,335 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Set alsa_device to hw:1
>
> >>
>
> >> 2020-06-24 15:52:43,336 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 15:52:43,337 - openob.node.test-rx-node - INFO - Link test-link
initial setup start on test-rx-node
>
> >>
>
> >> 2020-06-24 15:52:43,337 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 15:52:43,338 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched mode, got rx
>
> >>
>
> >> 2020-06-24 15:52:43,338 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched mode, got rx
>
> >>
>
> >> 2020-06-24 15:52:43,338 - openob.node.test-rx-node.link.test-link - INFO -
Waiting for transmitter capabilities...
>
> >>
>
> >> 2020-06-24 15:52:43,339 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:caps, got application/x-rtp, media=(string)audio, clock-rate=(int)48000,
encoding-name=(string)OPUS, sprop-maxcapturerate=(string)48000, sprop-stereo=(string)0,
payload=(int)96, encoding-params=(string)2, ssrc=(uint)1266186479,
timestamp-offset=(uint)3427950381, seqnum-offset=(uint)22898
>
> >>
>
> >> 2020-06-24 15:52:43,339 - openob.link.test-link.config - DEBUG - Fetched
(blocking) caps, got application/x-rtp, media=(string)audio, clock-rate=(int)48000,
encoding-name=(string)OPUS, sprop-maxcapturerate=(string)48000, sprop-stereo=(string)0,
payload=(int)96, encoding-params=(string)2, ssrc=(uint)1266186479,
timestamp-offset=(uint)3427950381, seqnum-offset=(uint)22898
>
> >>
>
> >> 2020-06-24 15:52:43,340 - openob.node.test-rx-node.link.test-link - INFO -
Got caps from transmitter
>
> >>
>
> >> 2020-06-24 15:52:43,340 - openob.node.test-rx-node.link.test-link - INFO -
Starting up receiver
>
> >>
>
> >> 2020-06-24 15:52:43,341 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:name, got test-link
>
> >>
>
> >> 2020-06-24 15:52:43,341 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched mode, got rx
>
> >>
>
> >> 2020-06-24 15:52:43,341 - openob.node.test-rx-node.link.test-link.rx - INFO
- Creating reception pipeline
>
> >>
>
> >> 2020-06-24 15:52:43,342 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Building RTP transport bin
>
> >>
>
> >> 2020-06-24 15:52:43,344 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:caps, got application/x-rtp, media=(string)audio, clock-rate=(int)48000,
encoding-name=(string)OPUS, sprop-maxcapturerate=(string)48000, sprop-stereo=(string)0,
payload=(int)96, encoding-params=(string)2, ssrc=(uint)1266186479,
timestamp-offset=(uint)3427950381, seqnum-offset=(uint)22898
>
> >>
>
> >> 2020-06-24 15:52:43,351 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:port, got 3000
>
> >>
>
> >> 2020-06-24 15:52:43,353 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:multicast, got False
>
> >>
>
> >> 2020-06-24 15:52:43,359 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:jitter_buffer, got 1000
>
> >>
>
> >> 2020-06-24 15:52:43,375 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Building decoder bin
>
> >>
>
> >> 2020-06-24 15:52:43,377 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:encoding, got opus
>
> >>
>
> >> 2020-06-24 15:52:43,387 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Building audio output bin
>
> >>
>
> >> 2020-06-24 15:52:43,388 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 15:52:43,389 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched type, got alsa
>
> >>
>
> >> 2020-06-24 15:52:43,398 - openob.node.test-rx-node.audio_interface.default -
DEBUG - Fetched alsa_device, got hw:1
>
> >>
>
> >> 2020-06-24 15:52:43,433 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:receiver_host, got 192.168.0.162
>
> >>
>
> >> 2020-06-24 15:52:43,435 - openob.link.test-link.config - DEBUG - Fetched
openob:test-link:port, got 3000
>
> >>
>
> >> 2020-06-24 15:52:43,436 - openob.node.test-rx-node.link.test-link.rx - INFO
- Listening for stream on 192.168.0.162:3000
>
> >>
>
> >> 2020-06-24 15:52:45,360 - openob.node.test-rx-node.link.test-link.rx - INFO
- Receiving stereo audio transmission
>
> >>
>
> >> 2020-06-24 15:52:46,360 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -3.49 R -3.49
>
> >>
>
> >> 2020-06-24 15:52:47,360 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -3.70 R -3.70
>
> >>
>
> >> 2020-06-24 15:52:48,360 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -3.84 R -3.84
>
> >>
>
> >> 2020-06-24 15:52:49,360 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -3.13 R -3.13
>
> >>
>
> >> 2020-06-24 15:52:50,360 - openob.node.test-rx-node.link.test-link.rx - DEBUG
- Levels: L -1.88 R -1.88<hr>_______________________________________________
>
> >> openob-users mailing list -- openob-users(a)lists.talkunafraid.co.uk
>
> >> To unsubscribe send an email to openob-users-leave(a)lists.talkunafraid.co.uk
> _______________________________________________
> openob-users mailing list -- openob-users(a)lists.talkunafraid.co.uk
> To unsubscribe send an email to openob-users-leave(a)lists.talkunafraid.co.uk