Open anieuwland opened 2 years ago
Hi,
3 things:
This does not stop the music coming from the PC speakers, so I use pavucontrol again to route the audio output to a device that is not connected (line out in my case) to silence the speakers.
If audio is being captured you can see this in swyh-rs ("_The wavereader is now receiving samples"), and in the RMS monitor.
After a look at the Phorus website and some googling I found that naked PCM streams are not supported, so only the WAV option could possibly work with swyh-rs. This is also true for Sonos speakers.
https://phorus.com/blog/high-resolution-audio
That is possibly the reason why the Phorus accepts all the dlna/avtransport commands without error but in the end decides that it can't handle the PCM stream so it never sends a streaming request.
Could you give it a try with autoresume/autoreconnect/24 bit disabled and the WAV header and RMS monitor enabled?
Could you try the latest 1.3.23 release? It fixes a broblem with the AV transport DIDL-Lite protocolinfo.
Hi! Thanks for the tips. I will look at it this Friday :).
Okay I tried with the settings you suggested. I think I configured it right and I do see "the wave_reader is now receiving samples" and the green bars move. The pavucontrol monitor for the stereo is also moving.
Unfortunately there still isn't sound coming from my sound bar. I tried putting up the volume a lot to be sure it wasn't because due to a silly thing like that.
Thanks for your help. Are there more things we could try or things I could do to debug?
The sound bar does not send a streaming request so streaming never starts. I suppose that there is something in the AV SetTransportUri metadata that it does not understand or like, this should be visible in the log (a http 500 response instead of a 200 response on receiving the SetTransportUri command). Unfortunately I have no idea what it is that it does not like...
Hmm. I looked through the logs and didn't see a 500 response. What's interesting is that when I was first using Spotify itself to stream to it and then tried swyh-rs, the sound bar stopped the Spotify stream. So apparently it does realize a new stream comes in, or something.
Since I have a few software packages that do manage to connect and stream (Spotify itself and the earlier mentioned mkchromecast), I could analyze and compare the network traffic of these and see if I can find where the difference. Do you have some tips on how to do this? How did you debug connecting to your own DLNA device?
I realize you're doing this in your free time, so again, thanks for helping and providing this for free.
EDIT: Adding log for completeness sake.
14:13:46 [INFO] swyh-rs V 1.3.23 - Logging started.
14:13:46 [INFO] Config: Configuration { server_port: Some(5901), auto_resume: false, sound_source: "default", log_level: Debug, ssdp_interval_mins: 1.0, auto_reconnect: false, disable_chunked: false, use_wave_format: true, bits_per_sample: Some(16), monitor_rms: true, last_renderer: "Phorus-Renderer Woonkamer", last_network: "192.168.178.17", config_dir: "/home/anieuwland/.swyh-rs" }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: Supported hosts:
[Alsa]
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: Available hosts:
[Alsa]
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: ALSA
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: Default Output Device:
Some("default")
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: Devices:
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1. "pipewire"
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: All supported output stream configs:
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.1. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.2. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.3. SupportedStreamConfigRange { channels: 3, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.4. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.5. SupportedStreamConfigRange { channels: 5, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.6. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.7. SupportedStreamConfigRange { channels: 7, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.8. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.9. SupportedStreamConfigRange { channels: 9, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.10. SupportedStreamConfigRange { channels: 10, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.11. SupportedStreamConfigRange { channels: 11, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.12. SupportedStreamConfigRange { channels: 12, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.13. SupportedStreamConfigRange { channels: 13, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.14. SupportedStreamConfigRange { channels: 14, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.15. SupportedStreamConfigRange { channels: 15, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.16. SupportedStreamConfigRange { channels: 16, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.17. SupportedStreamConfigRange { channels: 17, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.18. SupportedStreamConfigRange { channels: 18, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.19. SupportedStreamConfigRange { channels: 19, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.20. SupportedStreamConfigRange { channels: 20, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.21. SupportedStreamConfigRange { channels: 21, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.22. SupportedStreamConfigRange { channels: 22, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.23. SupportedStreamConfigRange { channels: 23, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.24. SupportedStreamConfigRange { channels: 24, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.25. SupportedStreamConfigRange { channels: 25, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.26. SupportedStreamConfigRange { channels: 26, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.27. SupportedStreamConfigRange { channels: 27, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.28. SupportedStreamConfigRange { channels: 28, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.29. SupportedStreamConfigRange { channels: 29, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.30. SupportedStreamConfigRange { channels: 30, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.31. SupportedStreamConfigRange { channels: 31, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.32. SupportedStreamConfigRange { channels: 32, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.33. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.34. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.35. SupportedStreamConfigRange { channels: 3, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.36. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.37. SupportedStreamConfigRange { channels: 5, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.38. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.39. SupportedStreamConfigRange { channels: 7, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.40. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.41. SupportedStreamConfigRange { channels: 9, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.42. SupportedStreamConfigRange { channels: 10, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.43. SupportedStreamConfigRange { channels: 11, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.44. SupportedStreamConfigRange { channels: 12, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.45. SupportedStreamConfigRange { channels: 13, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.46. SupportedStreamConfigRange { channels: 14, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.47. SupportedStreamConfigRange { channels: 15, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.48. SupportedStreamConfigRange { channels: 16, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.49. SupportedStreamConfigRange { channels: 17, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.50. SupportedStreamConfigRange { channels: 18, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.51. SupportedStreamConfigRange { channels: 19, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.52. SupportedStreamConfigRange { channels: 20, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.53. SupportedStreamConfigRange { channels: 21, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.54. SupportedStreamConfigRange { channels: 22, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.55. SupportedStreamConfigRange { channels: 23, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.56. SupportedStreamConfigRange { channels: 24, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.57. SupportedStreamConfigRange { channels: 25, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.58. SupportedStreamConfigRange { channels: 26, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.59. SupportedStreamConfigRange { channels: 27, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.60. SupportedStreamConfigRange { channels: 28, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.61. SupportedStreamConfigRange { channels: 29, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.62. SupportedStreamConfigRange { channels: 30, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.63. SupportedStreamConfigRange { channels: 31, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 1.64. SupportedStreamConfigRange { channels: 32, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: Default output stream config:
SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2. "default"
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: All supported output stream configs:
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.1. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.2. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.3. SupportedStreamConfigRange { channels: 3, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.4. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.5. SupportedStreamConfigRange { channels: 5, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.6. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.7. SupportedStreamConfigRange { channels: 7, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.8. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.9. SupportedStreamConfigRange { channels: 9, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.10. SupportedStreamConfigRange { channels: 10, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.11. SupportedStreamConfigRange { channels: 11, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.12. SupportedStreamConfigRange { channels: 12, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.13. SupportedStreamConfigRange { channels: 13, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.14. SupportedStreamConfigRange { channels: 14, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.15. SupportedStreamConfigRange { channels: 15, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.16. SupportedStreamConfigRange { channels: 16, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.17. SupportedStreamConfigRange { channels: 17, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.18. SupportedStreamConfigRange { channels: 18, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.19. SupportedStreamConfigRange { channels: 19, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.20. SupportedStreamConfigRange { channels: 20, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.21. SupportedStreamConfigRange { channels: 21, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.22. SupportedStreamConfigRange { channels: 22, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.23. SupportedStreamConfigRange { channels: 23, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.24. SupportedStreamConfigRange { channels: 24, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.25. SupportedStreamConfigRange { channels: 25, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.26. SupportedStreamConfigRange { channels: 26, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.27. SupportedStreamConfigRange { channels: 27, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.28. SupportedStreamConfigRange { channels: 28, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.29. SupportedStreamConfigRange { channels: 29, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.30. SupportedStreamConfigRange { channels: 30, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.31. SupportedStreamConfigRange { channels: 31, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.32. SupportedStreamConfigRange { channels: 32, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.33. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.34. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.35. SupportedStreamConfigRange { channels: 3, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.36. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.37. SupportedStreamConfigRange { channels: 5, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.38. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.39. SupportedStreamConfigRange { channels: 7, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.40. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.41. SupportedStreamConfigRange { channels: 9, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.42. SupportedStreamConfigRange { channels: 10, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.43. SupportedStreamConfigRange { channels: 11, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.44. SupportedStreamConfigRange { channels: 12, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.45. SupportedStreamConfigRange { channels: 13, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.46. SupportedStreamConfigRange { channels: 14, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.47. SupportedStreamConfigRange { channels: 15, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.48. SupportedStreamConfigRange { channels: 16, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.49. SupportedStreamConfigRange { channels: 17, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.50. SupportedStreamConfigRange { channels: 18, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.51. SupportedStreamConfigRange { channels: 19, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.52. SupportedStreamConfigRange { channels: 20, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.53. SupportedStreamConfigRange { channels: 21, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.54. SupportedStreamConfigRange { channels: 22, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.55. SupportedStreamConfigRange { channels: 23, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.56. SupportedStreamConfigRange { channels: 24, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.57. SupportedStreamConfigRange { channels: 25, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.58. SupportedStreamConfigRange { channels: 26, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.59. SupportedStreamConfigRange { channels: 27, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.60. SupportedStreamConfigRange { channels: 28, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.61. SupportedStreamConfigRange { channels: 29, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.62. SupportedStreamConfigRange { channels: 30, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.63. SupportedStreamConfigRange { channels: 31, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 2.64. SupportedStreamConfigRange { channels: 32, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(384000), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: Default output stream config:
SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:601:(snd_pcm_dsnoop_open) unable to open slave
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3. "hdmi:CARD=PCH,DEV=0"
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: All supported output stream configs:
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.1. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.2. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.3. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.4. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.5. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.6. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.7. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.8. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.9. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.10. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.11. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.12. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.13. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.14. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.15. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.16. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.17. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.18. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.19. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.20. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.21. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.22. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.23. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.24. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.25. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.26. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.27. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 3.28. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: Default output stream config:
SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4. "hdmi:CARD=PCH,DEV=1"
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: All supported output stream configs:
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.1. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.2. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.3. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.4. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.5. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.6. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.7. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.8. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.9. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.10. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.11. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.12. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.13. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.14. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.15. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.16. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.17. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.18. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.19. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.20. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.21. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.22. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.23. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.24. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.25. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.26. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.27. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 4.28. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: Default output stream config:
SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5. "hdmi:CARD=PCH,DEV=2"
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: All supported output stream configs:
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.1. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.2. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.3. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.4. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.5. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.6. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.7. SupportedStreamConfigRange { channels: 2, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.8. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.9. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.10. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.11. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.12. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.13. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.14. SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.15. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.16. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.17. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.18. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.19. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.20. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.21. SupportedStreamConfigRange { channels: 6, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.22. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.23. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.24. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.25. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(88200), max_sample_rate: SampleRate(88200), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.26. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(96000), max_sample_rate: SampleRate(96000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.27. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(176400), max_sample_rate: SampleRate(176400), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: 5.28. SupportedStreamConfigRange { channels: 8, min_sample_rate: SampleRate(192000), max_sample_rate: SampleRate(192000), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [DEBUG] (1) swyh_rs::utils::audiodevices: Default output stream config:
SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 8, max: 1048576 }, sample_format: I16 }
14:13:46 [INFO] Selected audio source: default
14:13:46 [INFO] tb_log: Setup audio sources
14:13:47 [INFO] tb_log: Sorry, but you don't have permissions to raise priority...
14:13:47 [DEBUG] (1) swyh_rs: Try capturing system audio
14:13:47 [INFO] tb_log: Capturing audio from: default
14:13:47 [INFO] tb_log: Default audio SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 1, max: 4194304 }, sample_format: F32 }
14:13:47 [INFO] tb_log: Discover networks
14:13:47 [INFO] tb_log: Starting SSDP discovery
14:13:47 [DEBUG] (3) swyh_rs::openhome::avmedia: SSDP discovery started
14:13:47 [INFO] tb_log: The wave_reader is now receiving samples
14:13:47 [DEBUG] (3) swyh_rs::openhome::avmedia: UDP response at 92 from 192.168.178.18:35546:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=300
DATE: Mon, 28 Feb 2022 14:13:47 GMT
EXT:
LOCATION: http://192.168.178.18:49152/description.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1e1c96ac-1dd2-11b2-a086-debdf1ad566b
SERVER: Linux/3.12.74-retail-development, UPnP/1.0, Portable SDK for UPnP devices/1.6.19
X-User-Agent: redsonic
ST: urn:schemas-upnp-org:service:RenderingControl:1
USN: uuid:3d62cbc4-32f8-4fbc-8618-60b60625f03b::urn:schemas-upnp-org:service:RenderingControl:1
14:13:47 [DEBUG] (3) swyh_rs::openhome::avmedia: SSDP Discovery: AV renderer: http://192.168.178.18:49152/description.xml
14:13:50 [INFO] SSDP discovery: new Renderer found at : http://192.168.178.18:49152/description.xml
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: Getting new renderer descriptions
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: Get service description for http://192.168.178.18:49152/description.xml
14:13:50 [DEBUG] (3) ureq::stream: connecting to 192.168.178.18:49152 at 192.168.178.18:49152
14:13:50 [DEBUG] (3) ureq::stream: created stream: TcpStream { addr: 192.168.178.17:35526, peer: 192.168.178.18:49152, fd: 22 }
14:13:50 [DEBUG] (3) ureq::unit: sending request GET http://192.168.178.18:49152/description.xml
14:13:50 [DEBUG] (3) ureq::unit: writing prelude: GET /description.xml HTTP/1.1
Host: 192.168.178.18:49152
Accept: */*
User-Agent: swyh-rs-Rust
Content-Type: text/xml
accept-encoding: gzip
Content-Length: 0
14:13:50 [DEBUG] (3) ureq::unit: response 200 to GET http://192.168.178.18:49152/description.xml
14:13:50 [DEBUG] (3) ureq::stream: dropping stream: TcpStream { addr: 192.168.178.17:35526, peer: 192.168.178.18:49152, fd: 22 }
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: Service description:
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: <?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:qq="http://www.tencent.com" xmlns:dlna="urn:schemas-dlna-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<qq:X_QPlay_SoftwareCapability>QPlay:2</qq:X_QPlay_SoftwareCapability>
<UDN>uuid:3d62cbc4-32f8-4fbc-8618-60b60625f03b</UDN>
<friendlyName>Woonkamer</friendlyName>
<hostIpAddress>192.168.178.18</hostIpAddress>
<hostPortNo>49152</hostPortNo>
<manufacturer>Phorus</manufacturer>
<manufacturerURL>www.phorus.com</manufacturerURL>
<modelDescription>Phorus-Renderer</modelDescription>
<modelName>Phorus-Renderer</modelName>
<modelNumber>1.0</modelNumber>
<modelURL>www.phorus.com</modelURL>
<dlna:X_DLNADOC>DMR-1.50</dlna:X_DLNADOC>
<serialNumber>000000000001</serialNumber>
<UPC>000000000001</UPC>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<width>72</width>
<height>72</height>
<depth>32</depth>
<url>/upnpmplayer.png</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
<serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
<controlURL>/upnp/control/AVTransport1</controlURL>
<eventSubURL>/upnp/event/AVTransport1</eventSubURL>
<SCPDURL>AVTransport.xml</SCPDURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<controlURL>/upnp/control/RenderingControl1</controlURL>
<eventSubURL>/upnp/event/RenderingControl1</eventSubURL>
<SCPDURL>RendererControl.xml</SCPDURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<controlURL>/upnp/control/ConnectionManager1</controlURL>
<eventSubURL>/upnp/event/ConnectionManager1</eventSubURL>
<SCPDURL>ConnectionManager.xml</SCPDURL>
</service>
<service>
<serviceType>urn:schemas-tencent-com:service:QPlay:2</serviceType>
<serviceId>urn:tencent-com:serviceId:QPlay</serviceId>
<controlURL>/upnp/control/QPlay1</controlURL>
<eventSubURL>/upnp/event/QPlay1</eventSubURL>
<SCPDURL>QPlayQueueService.xml</SCPDURL>
</service>
</serviceList>
<presentationURL></presentationURL>
</device>
<URLBase>http://192.168.178.18:49152/</URLBase>
</root>
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: Renderer Woonkamer Phorus-Renderer ip 192.168.178.18 at urlbase http://192.168.178.18:49152/ has 4 services
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: => OpenHome Playlist control url: '', AvTransport url: '/upnp/control/AVTransport1'
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: .. urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport /upnp/control/AVTransport1
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: .. urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl /upnp/control/RenderingControl1
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: .. urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager /upnp/control/ConnectionManager1
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: .. urn:schemas-tencent-com:service:QPlay:2 urn:tencent-com:serviceId:QPlay /upnp/control/QPlay1
14:13:50 [DEBUG] (3) swyh_rs::openhome::avmedia: SSDP discovery complete
14:13:50 [INFO] Found new renderer Woonkamer Phorus-Renderer at 192.168.178.18
14:13:50 [INFO] tb_log: The streaming server is listening on http://192.168.178.17:5901/stream/swyh.wav
14:13:50 [INFO] tb_log: Sample rate: 44100, sample format: audio/L16 (PCM)
14:13:50 [DEBUG] (5) tiny_http: Server listening on 192.168.178.17:5901
14:13:50 [DEBUG] (6) tiny_http: Running accept thread
14:13:59 [DEBUG] (1) swyh_rs::ui::mainform: Pushed renderer #0 Phorus-Renderer Woonkamer, state = ON
14:13:59 [DEBUG] (1) swyh_rs::utils::configuration: Updated CONFIG: [Configuration]
ServerPort = 5901
AutoResume = false
SoundCard = "default"
LogLevel = "DEBUG"
SSDPIntervalMins = 1.0
AutoReconnect = false
DisableChunked = false
UseWaveFormat = true
BitsPerSample = 16
MonitorRms = true
LastRenderer = "Phorus-Renderer Woonkamer"
LastNetwork = "192.168.178.17"
ConfigDir = "/home/anieuwland/.swyh-rs"
14:13:59 [INFO] tb_log: AV Stop playing on Woonkamer host=192.168.178.18 port=49152
14:13:59 [DEBUG] (1) swyh_rs::openhome::avmedia: url: http://192.168.178.18:49152/upnp/control/AVTransport1,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#Stop,
=>SOAP xml:
<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:Stop></s:Body></s:Envelope>
14:13:59 [DEBUG] (1) ureq::stream: connecting to 192.168.178.18:49152 at 192.168.178.18:49152
14:13:59 [DEBUG] (1) ureq::stream: created stream: TcpStream { addr: 192.168.178.17:35528, peer: 192.168.178.18:49152, fd: 23 }
14:13:59 [DEBUG] (1) ureq::unit: sending request POST http://192.168.178.18:49152/upnp/control/AVTransport1
14:13:59 [DEBUG] (1) ureq::unit: writing prelude: POST /upnp/control/AVTransport1 HTTP/1.1
Host: 192.168.178.18:49152
Connection: close
User-Agent: swyh-rs-Rust/0.x
Accept: */*
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Content-Type: text/xml; charset="utf-8"
accept-encoding: gzip
Content-Length: 288
14:13:59 [DEBUG] (1) ureq::unit: response 200 to POST http://192.168.178.18:49152/upnp/control/AVTransport1
14:13:59 [DEBUG] (1) ureq::pool: adding stream to pool: http|192.168.178.18|49152 -> TcpStream { addr: 192.168.178.17:35528, peer: 192.168.178.18:49152, fd: 23 }
14:13:59 [DEBUG] (1) ureq::stream: dropping stream: TcpStream { addr: 192.168.178.17:35528, peer: 192.168.178.18:49152, fd: 23 }
14:13:59 [DEBUG] (1) swyh_rs::openhome::avmedia: <=SOAP response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
<u:StopResponse xmlns:u="urn:upnp-org:serviceId:AVTransport"></u:StopResponse>
</s:Body> </s:Envelope>
14:13:59 [INFO] tb_log: AV Start playing on Woonkamer host=192.168.178.18 port=49152 from 192.168.178.17 using AvTransport Play
14:13:59 [DEBUG] (1) swyh_rs::openhome::avmedia: AvTransport server URL: http://192.168.178.17:5901/stream/swyh.wav
14:13:59 [DEBUG] (1) swyh_rs::openhome::avmedia: url: http://192.168.178.18:49152/upnp/control/AVTransport1,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI,
=>SOAP xml:
<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><CurrentURI>http://192.168.178.17:5901/stream/swyh.wav</CurrentURI><CurrentURIMetaData><DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="1" parentID="0" restricted="0"><dc:title>swyh-rs</dc:title><res bitsPerSample="16" nrAudioChannels="2" sampleFrequency="44100" protocolInfo="http-get:*:audio/wav:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000" duration="00:00:00" >http://192.168.178.17:5901/stream/swyh.wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite></CurrentURIMetaData></u:SetAVTransportURI></s:Body></s:Envelope>
14:13:59 [DEBUG] (1) ureq::stream: connecting to 192.168.178.18:49152 at 192.168.178.18:49152
14:13:59 [DEBUG] (1) ureq::stream: created stream: TcpStream { addr: 192.168.178.17:35530, peer: 192.168.178.18:49152, fd: 23 }
14:13:59 [DEBUG] (1) ureq::unit: sending request POST http://192.168.178.18:49152/upnp/control/AVTransport1
14:13:59 [DEBUG] (1) ureq::unit: writing prelude: POST /upnp/control/AVTransport1 HTTP/1.1
Host: 192.168.178.18:49152
Connection: close
User-Agent: swyh-rs-Rust/0.x
Accept: */*
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Content-Type: text/xml; charset="utf-8"
accept-encoding: gzip
Content-Length: 1164
14:13:59 [DEBUG] (1) ureq::unit: response 200 to POST http://192.168.178.18:49152/upnp/control/AVTransport1
14:13:59 [DEBUG] (1) ureq::pool: adding stream to pool: http|192.168.178.18|49152 -> TcpStream { addr: 192.168.178.17:35530, peer: 192.168.178.18:49152, fd: 23 }
14:13:59 [DEBUG] (1) ureq::stream: dropping stream: TcpStream { addr: 192.168.178.17:35530, peer: 192.168.178.18:49152, fd: 23 }
14:13:59 [DEBUG] (1) swyh_rs::openhome::avmedia: <=SOAP response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
<u:SetAVTransportURIResponse xmlns:u="urn:upnp-org:serviceId:AVTransport"></u:SetAVTransportURIResponse>
</s:Body> </s:Envelope>
14:13:59 [DEBUG] (1) swyh_rs::openhome::avmedia: url: http://192.168.178.18:49152/upnp/control/AVTransport1,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#Play,
=>SOAP xml:
<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>
14:13:59 [DEBUG] (1) ureq::stream: connecting to 192.168.178.18:49152 at 192.168.178.18:49152
14:13:59 [DEBUG] (1) ureq::stream: created stream: TcpStream { addr: 192.168.178.17:35532, peer: 192.168.178.18:49152, fd: 23 }
14:13:59 [DEBUG] (1) ureq::unit: sending request POST http://192.168.178.18:49152/upnp/control/AVTransport1
14:13:59 [DEBUG] (1) ureq::unit: writing prelude: POST /upnp/control/AVTransport1 HTTP/1.1
Host: 192.168.178.18:49152
Connection: close
User-Agent: swyh-rs-Rust/0.x
Accept: */*
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Content-Type: text/xml; charset="utf-8"
accept-encoding: gzip
Content-Length: 304
14:13:59 [DEBUG] (1) ureq::unit: response 200 to POST http://192.168.178.18:49152/upnp/control/AVTransport1
14:13:59 [DEBUG] (1) ureq::pool: adding stream to pool: http|192.168.178.18|49152 -> TcpStream { addr: 192.168.178.17:35532, peer: 192.168.178.18:49152, fd: 23 }
14:13:59 [DEBUG] (1) ureq::stream: dropping stream: TcpStream { addr: 192.168.178.17:35532, peer: 192.168.178.18:49152, fd: 23 }
14:13:59 [DEBUG] (1) swyh_rs::openhome::avmedia: <=SOAP response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
<u:PlayResponse xmlns:u="urn:upnp-org:serviceId:AVTransport"></u:PlayResponse>
</s:Body> </s:Envelope>
14:14:43 [DEBUG] (1) swyh_rs::ui::mainform: Pushed renderer #0 Phorus-Renderer Woonkamer, state = OFF
14:14:43 [INFO] tb_log: AV Stop playing on Woonkamer host=192.168.178.18 port=49152
14:14:43 [DEBUG] (1) swyh_rs::openhome::avmedia: url: http://192.168.178.18:49152/upnp/control/AVTransport1,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#Stop,
=>SOAP xml:
<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:Stop></s:Body></s:Envelope>
14:14:43 [DEBUG] (1) ureq::stream: connecting to 192.168.178.18:49152 at 192.168.178.18:49152
14:14:43 [DEBUG] (1) ureq::stream: created stream: TcpStream { addr: 192.168.178.17:35534, peer: 192.168.178.18:49152, fd: 23 }
14:14:43 [DEBUG] (1) ureq::unit: sending request POST http://192.168.178.18:49152/upnp/control/AVTransport1
14:14:43 [DEBUG] (1) ureq::unit: writing prelude: POST /upnp/control/AVTransport1 HTTP/1.1
Host: 192.168.178.18:49152
Connection: close
User-Agent: swyh-rs-Rust/0.x
Accept: */*
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Content-Type: text/xml; charset="utf-8"
accept-encoding: gzip
Content-Length: 288
14:14:43 [DEBUG] (1) ureq::unit: response 200 to POST http://192.168.178.18:49152/upnp/control/AVTransport1
14:14:43 [DEBUG] (1) ureq::pool: adding stream to pool: http|192.168.178.18|49152 -> TcpStream { addr: 192.168.178.17:35534, peer: 192.168.178.18:49152, fd: 23 }
14:14:43 [DEBUG] (1) ureq::stream: dropping stream: TcpStream { addr: 192.168.178.17:35534, peer: 192.168.178.18:49152, fd: 23 }
14:14:43 [DEBUG] (1) swyh_rs::openhome::avmedia: <=SOAP response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
<u:StopResponse xmlns:u="urn:upnp-org:serviceId:AVTransport"></u:StopResponse>
</s:Body> </s:Envelope>
14:14:50 [DEBUG] (3) swyh_rs::openhome::avmedia: SSDP discovery started
14:14:51 [DEBUG] (3) swyh_rs::openhome::avmedia: UDP response at 939 from 192.168.178.18:37854:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=300
DATE: Mon, 28 Feb 2022 14:14:51 GMT
EXT:
LOCATION: http://192.168.178.18:49152/description.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1e1c96ac-1dd2-11b2-a086-debdf1ad566b
SERVER: Linux/3.12.74-retail-development, UPnP/1.0, Portable SDK for UPnP devices/1.6.19
X-User-Agent: redsonic
ST: urn:schemas-upnp-org:service:RenderingControl:1
USN: uuid:3d62cbc4-32f8-4fbc-8618-60b60625f03b::urn:schemas-upnp-org:service:RenderingControl:1
14:14:51 [DEBUG] (3) swyh_rs::openhome::avmedia: SSDP Discovery: AV renderer: http://192.168.178.18:49152/description.xml
14:14:53 [INFO] SSDP discovery: Skipping known Renderer at http://192.168.178.18:49152/description.xml
14:14:53 [DEBUG] (3) swyh_rs::openhome::avmedia: Getting new renderer descriptions
14:14:53 [DEBUG] (3) swyh_rs::openhome::avmedia: SSDP discovery complete
You're right, the device accepts everything wiyh a 200 OK response, but yet it does not initiate the streaming when it acknowledges the Play command.
I use Wireshark to debug dlna sessions when I have a problem. I have used BubbleUnpn and Foobar2000 in the past to record a successful dlna streaming session, so that I could compare with what I was sending. But the sniffer traces are a lot of data to wade through...
If you could attach a trace of a working dlna AV-transport streaming session here there's a possibility that it gives me a clue why my code doesn't work.
So far it has never been necessary to write device-dependent AV transport or Openhome transport code, they either work with what is generally considered "standard" commands or don't (refusing commands with a 500 internal server error). The dlna "standard" unfortunately allows any device to largely ignore the standard and implement "vendor defined" alternatives.
I fiddled around a bit and made Wireshark recordings (pcapng) for both Spotify and Swyh-rs. Is this what you meant?
The dlna "standard" unfortunately allows any device to largely ignore the standard and implement "vendor defined" alternatives.
Not much a standard then haha. I hope Phonus doesn't stray from it (much).
Unfortunately Spotify does not use dlna. I think bubbleupnp server is your best bet. Or any other dlna controller...
Okay, attempt 2! It contains 2 files. One is the logs of swyh-rs directly to the sound bar, the other is swyh-rs redirecting to BubbleUPnP and then to the sound bar. This last setup works, confirming that the capturing indeed works correctly.
Thanks! I'll let you know if I find anything useful.
In the swyh-rs log I see that the Phorus actually starts streaming:
99 13.707192450 192.168.178.18 192.168.178.17 HTTP 309 GET /stream/swyh.wav HTTP/1.1
After receiving the first 8 KB block of WAV data from swyh-rs it resets the connection so streaming is immediately aborted:
114 13.932231819 192.168.178.18 192.168.178.17 TCP 54 43637 → 5901 [RST] Seq=245 Win=0 Len=0
This is normal behaviour except that it really should be a HEAD request instead of a GET (it is used to check what is coming).
Immediately after that it does the "real" GET request:
118 14.117524118 192.168.178.18 192.168.178.17 HTTP 309 GET /stream/swyh.wav HTTP/1.1
and then streaming starts for real, just like it should, but the only problem is that you get no sound...
The soundbar uses GStreamer internally, it is possible that it misunderstands the WAV format.
Could you check again without the WAV option (and perhaps without the chunked option, although I don't think this is relevant as libcurl is used for HTTP)? I'll see if I can find any information on how GStreamer handles raw PCM data.
It also looks like Bubble is not using DLNA but the Chromecast protocol to send sound to the Phorus, so no luck there...
I tried again without wav and it made no difference :\ So strange.
I hadn't realized completely that Chromecast and DLNA are different things. So far the Chromecast outputs have worked. Maybe that's relevant somehow. Does this sound bar maybe not correctly implement/follow/support DLNA? Weird.
There have been dlna problem reports in the past: https://github.com/philippe44/AirConnect/issues/178.
I'm afraid that I don't know how to make this work, sorry...
Thanks for your efforts trying to help me!
In the past (before I wrote swyh-rs) I have used pulseaudio-dlna to stream Linux system audio to chromecast and dlna renderers: old pulseaudio-dlna article for Ubuntu. It's command-line but it worked.
You can find a recent and maintained fork of the original here.
Ah thanks! I hadn't found the fork yet. I had found another repo / copr which was outdated. I'm going to try it!
In general the issue I keep running into though is that there is a delay/latency of several seconds (3 to 8) with streaming from my computer to the sound bar. Do you think this is inherent and unsolvable?
I have the feeling that transmitting a wav over a wireless network should be doable real-time (ish) so if I were to video call with someone that the sound would be correspond to their lip movements. I was hoping swyh-rs, being a Rust program, would do that. What is your expectation / experience?
A certain delay is unavoidable: the os sound system does a certain amount of buffering for capturing audio, swyh-rs uses the same buffer size as the os sound system, then you have the http transport that also uses buffering, and finally the rendering device too has to use a certain amount of buffering to prevent drops due to network delays. The delay added by swyh-rs itself is minimal, typically around 8KB (44 khz 16 bit sterio PCM audio is 176 KB per second).
Would you be prepared to test the latest 1.4.1 release with the new FLAC support option?
Sure! What do part do I need to test?
-------- Oorspronkelijk bericht -------- Op 15 jul. 2022 18:26, schreef dheijl :
Would you be prepared to test the latest 1.4.1 release with the new FLAC support option?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Select FLAC format in the new FMT dropdown and try to stream to the phorus. And let me know if it works or not of course:)
Sure thing. I didn't get around to it last weekend, but I'll try to somewhere the coming week.
Okay, finally found the time. Unfortunately it did not work :\ I did see the soundbar respond however. It says "Play-Fi" or show the volume level, but as before no sound came out. I tested with 1.4.3, FLAC and WAV.
Thanks for testing! I'm sorry that it doesn't work.
But I notice that you enabled "autoreconnect", and it looks like the "Play" command is being sent before the built-in HTTP server is ready.
Could you give it one more try with "autoreconnect" disabled?
I tried, but it makes no difference unfortunately. Strangely enough today I don't even see the bar respond like it did yesterday. Any clues?
All the upnp commands/responses look OK but the soundbar does not send a streaming request when asked to play. No clues unfortunately. Thanks for testing!
Hi! This looks like a great utility allowing me to wirelessly use my soundbar as my laptop's sound output. Very cool.
Unfortunately it doesn't seem to work. Sound still keeps coming from my laptop's speakers instead of the soundbar. I have compiled from source and am running on Fedora 35. I see a message in the logs saying "Sorry, you don't have permissions to raise priority....". Any idea what could be going on?
I'm assuming it is not due to incompatibility, because a similar project did work, albeit with quite some latency. I have also disabled SELinux. The soundbar ("Woonkamer") is correctly detected.
Debug logs: