Bug #607

Bad error message when there is sampling rate mismatch

Added by Alexandre Quessy over 1 year ago. Updated 10 months ago.

Status:New Start date:
Priority:Normal Due date:
Assignee:Nicolas Bouillot % Done:

0%

Category:milhouse Spent time: -
Target version:1.6
Resolution: Version:0.6.2
Trac ticket ID:607

Description

The message is

pipeline.cpp:92:CRITICAL:udpsrc2:Internal data flow error.

It should be:

Failed to receive audio from remote peer. Sampling rate mismatch. Ours is 48000, remote's it 44100.
Aborting.

History

Updated by Alexandre Quessy over 1 year ago

Here is the full error message, thanks to GST_DEBUG=2:

0:00:00.739129741 23526      0x195ac70 WARN                     bin gstbin.c:2312:gst_bin_do_latency_func:<pipeline> failed to query latency
INFO:New audio stream connected
0:00:00.757719163 23526 0x7f954c0043f0 WARN           basetransform gstbasetransform.c:1047:gst_base_transform_acceptcaps:<audioconvert0> transform could not transform audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT > in anything we support
0:00:00.758053205 23526      0x1c9b1f0 WARN                 basesrc gstbasesrc.c:2507:gst_base_src_loop:<udpsrc2> error: Internal data flow error.
0:00:00.758071202 23526      0x1c9b1f0 WARN                 basesrc gstbasesrc.c:2507:gst_base_src_loop:<udpsrc2> error: streaming task paused, reason not-negotiated (-4)
INFO:New video stream connected
pipeline.cpp:92:CRITICAL:udpsrc2:Internal data flow error.

Updated by Alexandre Quessy over 1 year ago

Sender had a sr of 44100. Receiver had 48000.

Updated by Alexandre Quessy 12 months ago

  • Assignee changed from Alexandre Quessy to Nicolas Bouillot
  • Priority changed from Urgent to Normal

Updated by Alexandre Quessy 10 months ago

  • Target version changed from 0.6.3 to 1.6

Also available in: Atom PDF