Ticket #86 (assigned defect)

Opened 3 years ago

Last modified 3 years ago

Stereo RTP streams switch channels

Reported by: s2156945 Owned by: lennart
Milestone: Component: module-rtp-*
Keywords: rtp module-rtp-recv channel_map module-rtp-send Cc: pulse@…

Description

Long running RTP streams seem to switch left and right channels.

Normally this isn't a big deal - e.g. music.

I am using the two channels to carry different information, so it is a big deal for me.

I haven't really narrowed down where the bug is happening, I will set up a test rig which will send a 1K tone down the left channel and a 4K tone down the right channel and work out where the switching happens.

Happy to take other advice on debugging this.

Change History

Changed 3 years ago by s2156945

I have narrowed this bug down to the sender:

(used VLC to read SAP announcement and pick up rtp stream, I only get right channel output from the below config)

This is the /etc/pulse/default.pa for the sending device:

# OSS for hardware load-module module-oss device="/dev/dsp" sink_name=output source_name=input channel_map=left,left

# RTP for receiving load-module module-rtp-recv sink=output sap_address=224.0.37.181

# RTP for sending load-module module-rtp-send source=input destination=224.1.37.181 channels=2

cheers, Woody

Changed 3 years ago by lennart

  • status changed from new to assigned

Hmm, you specified channel_map=left,left and only got the right channel? The real right channel or did you get the left channel on the right side?

Changed 3 years ago by s2156945

Yes, you are correct, I got the left channel on the right side, and nothing on the left side, which could be actual nothing, or the right channel which is not connected to anything on the sending computer.

Note: See TracTickets for help on using tickets.