Ticket #86 (assigned defect)

Opened 2 years ago

Last modified 1 year ago

Stereo RTP streams switch channels

Reported by: s2156945 Assigned to: lennart (accepted)
Priority: high Milestone:
Component: module-rtp-* Severity: normal
Keywords: rtp module-rtp-recv channel_map module-rtp-send Cc: pulse@wood.id.au

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

05/29/07 07:54:22 changed 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

05/29/07 14:01:16 changed 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?

05/29/07 15:33:22 changed 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.