[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2020-08-12 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

Jaap Keuter  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #19 from Jaap Keuter  ---
Closing this bug since this version is EOL. If this issue comes up on current
versions please file a new bug report.

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-22 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #18 from Travis  ---
One thing I have found from experimenting with different settings, using the
latest build 2.5.0-503.


When I check the "Disable all sound effects" in my playback device properties
in Windows (See second attachment to this bug), I get the error when I have
Realtek High Def Audio selected for the output device in RTP Player.  If I use
"Default Output Device" in the RTP player, it does not return the error.

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-22 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #17 from Travis  ---
Created attachment 15704
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=15704=edit
Windows Audio Playback Device Settings (Enhancements Tab)

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-22 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #16 from Gerrit Code Review  ---
Change 22757 merged by Anders Broman:
Qt RTP: Add the default device and adjust sample rates.

https://code.wireshark.org/review/22757

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #15 from Gerald Combs  ---
After installing 2.5.0-497 on a test machine here playback through the default
device works, but none of the other devices work. For example, selecting
"Speakers (VIA High Definition Audio)" results in the error "Speakers (VIA High
Definition Audio) does not support PCM at 48000 Hz, Int16LE. Preferred format
is 48000 Hz, Int16LE". It looks like we need to add more QAudioFormat
attributes to that error message, e.g. sample size, codec, and channel count.

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #14 from travisdarn...@outlook.com ---
Gerald,

I installed "Wireshark-win64-2.5.0-497-g28dce11948", and confirmed that the RTP
player does play without the error in version 2.4.0.

Travis

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #13 from travisdarn...@outlook.com ---
Gerald, I will watch for a -497 or later build to post and report the results
as soon as possible.   Thank you!

Travis

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #12 from Gerald Combs  ---
Travis, can you try version 2.5.0-497 or later when it shows up at
https://www.wireshark.org/download/automated/win64/?

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #10 from Gerrit Code Review  ---
Change 22756 merged by Gerald Combs:
Qt RTP: Add the default device and adjust sample rates.

https://code.wireshark.org/review/22756

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #11 from Gerrit Code Review  ---
Change 22757 had a related patch set uploaded by Gerald Combs:
Qt RTP: Add the default device and adjust sample rates.

https://code.wireshark.org/review/22757

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #9 from Gerald Combs  ---
I think I introduced this problem in gd59653f, which added the output device
combobox. Prior to that change the RTP player used Qt's default audio device,
which in turn uses the special WAVE_MAPPER device on Windows. WAVE_MAPPER can
apparently handle more formats than the underlying hardware can in some cases.

Change 22756 attempts to fix this in two ways: by adjusting the output sample
rate to match the current device, and by adding the WAVE_MAPPER device
("Default Output Device") to the output device list. I can't easily test on
physical Windows hardware here so it might require additional tweaking.

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #8 from travisdarn...@outlook.com ---
The first value in previous comment should read 44100, and not 41000.

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #7 from travisdarn...@outlook.com ---
The error returns the value that is set under your "Speaker Properties" under
the "Advanced" tab.   There you can set the "Default Format".

16 bit, 41000 Hz (CD Quality)
16 bit, 48000 Hz (DVD Quality)
16 bit, 88200 Hz (Studio Quality)
16 bit, 96000 Hz (Studio Quality)
16 bit, 192000 Hz (Studio Quality)
24 bit, 41000 Hz (Studio Quality)
24 bit, 48000 Hz (Studio Quality)
24 bit, 88200 Hz (Studio Quality)
24 bit, 96000 Hz (Studio Quality)
24 bit, 192000 Hz (Studio Quality)

Whichever value you have set in your properties, is the value returned in the
error.

Travis

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #6 from Guy Harris  ---
(In reply to Pascal Quantin from comment #5)
> (In reply to Guy Harris from comment #4)
> > If so, that means that
> > formatDescription(cur_out_device.nearestFormat(format)) is producing the
> > wrong string - "44100 Hz, Int16LE" rather than "48000 Hz, Int16LE" or
> > whatever it should be.  (Presumably  you meant "44.1KHz".)
> 
> My PC is really printing 48000Hz, not 44100Hz.

Then perhaps your PC and Travis's PC have different sound hardware or drivers,
with different preferred formats, and 44100 Hz is correct for Travis's machine
and 48000 Hz is correct for your machine.

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #5 from Pascal Quantin  ---
(In reply to Guy Harris from comment #4)
> If so, that means that
> formatDescription(cur_out_device.nearestFormat(format)) is producing the
> wrong string - "44100 Hz, Int16LE" rather than "48000 Hz, Int16LE" or
> whatever it should be.  (Presumably  you meant "44.1KHz".)
> 

My PC is really printing 48000Hz, not 44100Hz. I cannot investigate it further
for now, but will try to have a look tonight if time permits.

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #4 from Guy Harris  ---
(In reply to Pascal Quantin from comment #3)
> I face the same issue on my Windows 10 x64 machine, but not on my Windows 7
> x64 VM.
> Note that there is probably a small typo in the bug report: the preferred
> format is 48KHz and not 41KHZ.

If so, that means that formatDescription(cur_out_device.nearestFormat(format))
is producing the wrong string - "44100 Hz, Int16LE" rather than "48000 Hz,
Int16LE" or whatever it should be.  (Presumably  you meant "44.1KHz".)

> An older build (using Qt 5.6.2 instead of 5.9.1) was working fine.

Sounds like a Qt 5.9.x bug (or a 5.7.x or 5.8.x bug still not fixed in 5.9.1),
perhaps one that only shows up on Windows 10 (or possibly also Windows 9^W8.1
and possibly also Windows 8).

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

Pascal Quantin  changed:

   What|Removed |Added

 CC||pascal.quan...@gmail.com
 Status|INCOMPLETE  |CONFIRMED

--- Comment #3 from Pascal Quantin  ---
I face the same issue on my Windows 10 x64 machine, but not on my Windows 7 x64
VM.
Note that there is probably a small typo in the bug report: the preferred
format is 48KHz and not 41KHZ.
An older build (using Qt 5.6.2 instead of 5.9.1) was working fine.

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-21 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

Guy Harris  changed:

   What|Removed |Added

 Status|UNCONFIRMED |INCOMPLETE
 Ever confirmed|0   |1

--- Comment #2 from Guy Harris  ---
So what is the version information for 2.2.8?

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

[Wireshark-bugs] [Bug 13906] RTP Player Format Error

2017-07-20 Thread bugzilla-daemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13906

--- Comment #1 from Guy Harris  ---
That string comes from RtpAudioStream::startPlaying():

QAudioFormat format;
format.setSampleRate(audio_out_rate_);
format.setSampleSize(sample_bytes_ * 8); // bits
format.setSampleType(QAudioFormat::SignedInt);
format.setChannelCount(1);
format.setCodec("audio/pcm");

// RTP_STREAM_DEBUG("playing %s %d samples @ %u Hz",
// tempfile_->fileName().toUtf8().constData(),
// (int) tempfile_->size(), audio_out_rate_);

if (!cur_out_device.isFormatSupported(format)) {
QString playback_error = tr("%1 does not support PCM at %2. Preferred
format is %3")
.arg(cur_out_device.deviceName())
.arg(formatDescription(format))
.arg(formatDescription(cur_out_device.nearestFormat(format)));
emit playbackError(playback_error);
}

and cur_out_device is a QAudioDeviceInfo, so the underlying problem is probably
somewhere in Qt.  2.2.8 for Windows may have been built with a different
version of Qt.

-- 
You are receiving this mail because:
You are watching all bug changes.___
Sent via:Wireshark-bugs mailing list 
Archives:https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
 mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe