1. 09 May, 2022 1 commit
  2. 07 May, 2022 2 commits
    • BurroCargado's avatar
      Fix seeking HLS on-demand streaming not working · 11d1f560
      BurroCargado authored
      This issue occurs when playing HLS streaming delivered
      from a server that does not support partial requests.
      The issue is reproduced as follows(using Ubuntu 20.04 PC):
      
      1. Prepare HLS example content.
      
      $ mkdir test
      $ ffmpeg -i example.flac -vn -c:a aac -b:a 128000 -f hls -hls_list_size 0 test/output.m3u8
      (ffmpeg 4.2.4 is used)
      
      2. Prepare web server without partial requests support.
      (Docker version 20.10.12 and NGINX official Docker image is used)
      
      $ docker run --name tmp-nginx-container -d nginx
      $ docker cp tmp-nginx-container:/etc/nginx/conf.d/default.conf .
      $ docker rm -f tmp-nginx-container
      
      Edit default.conf and add "max_ranges 0;" to "location / {...}".
      This disables partial requests support,
      removes 'Accept-Ranges: bytes' header from the server response.
      Then, run the server:
      
      $ docker run --name test-nginx -v $PWD/test:/usr/share/nginx/html:ro -v $PWD/default.conf:/etc/nginx/conf.d/default.conf -d -p 8080:80 nginx
      
      3. Setup MPD to Play the next URL.
      
      http://address-of-the-server:8080/output.m3u8
      
      Seeking this stream results in "exception: Not seekable".
      11d1f560
    • BurroCargado's avatar
      decoder/plugins/FFmpegDecoder: fix IsSeekable() · bd840d46
      BurroCargado authored
      AVFMTCTX_UNSEEKABLE signals the stream is not seekable
      according to FFmpeg source code description:
      https://github.com/FFmpeg/FFmpeg/blob/8e98dfc57fd05c49095dd964456a7acbb6da634c/libavformat/avformat.h#L1181
      bd840d46
  3. 26 Apr, 2022 24 commits
  4. 24 Apr, 2022 1 commit
  5. 20 Apr, 2022 1 commit
  6. 26 Mar, 2022 1 commit
    • Vitaly Ostrosablin's avatar
      Make volume changes to apply to disabled software mixers. · ac060889
      Vitaly Ostrosablin authored
      Move audio output state check ahead of mixer check and force volume
      applying even for disabled software mixed outputs.
      
      This fixes incorrect software mixer volume that used to occur when
      volume was changed while output being disabled.
      
      This is easily reproduced with following sequence of commands on
      multi-output software mixed MPD setup.
      
       mpc volume 38; mpc disable 3; mpc volume 88; mpc enable 3
      
      On current MPD, following commands would result in output 3 playing at
      volume 38, while all other enabled outputs would play at volume
      88. Moreover, global volume would display average of outputs real
      volumes. In my case, it's 75.
      
      After applying this patch, following commands would produce expected
      behavior. All outputs play at expected (88) volume. And volume is
      correctly displayed as 88.
      
      Closes https://github.com/MusicPlayerDaemon/MPD/issues/1423
      
      Signed-off-by: Vitaly Ostrosablin tmp6154@yandex.ru
      Signed-off-by: 's avatarVitaly Ostrosablin <tmp6154@yandex.ru>
      ac060889
  7. 16 Mar, 2022 2 commits
  8. 14 Mar, 2022 8 commits