1. 08 Jul, 2022 2 commits
  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 1 commit
  4. 14 Mar, 2022 2 commits
  5. 26 Jan, 2022 1 commit
  6. 03 Dec, 2021 1 commit
  7. 01 Dec, 2021 5 commits
  8. 12 Nov, 2021 2 commits
    • Rosen Penev's avatar
      use const references · 837fc986
      Rosen Penev authored
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      837fc986
    • Rosen Penev's avatar
      treewide: replace lock_guard with scoped_lock · 4e0e4c00
      Rosen Penev authored
      SonarLint reports the latter to be better:
      
      std::scoped_lock basically provides the same feature as std::lock_guard,
      but is more generic: It can lock several mutexes at the same time, with a
      deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code
      to perform simultaneous locking with std::lock_guard is significantly more
      complex. Therefore, it is simpler to use std::scoped_lock all the time,
      even when locking only one mutex (there will be no performance impact).
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      4e0e4c00
  9. 11 Nov, 2021 1 commit
  10. 09 Nov, 2021 1 commit
  11. 31 Oct, 2021 1 commit
  12. 13 Oct, 2021 4 commits
  13. 06 Oct, 2021 1 commit
  14. 08 Sep, 2021 1 commit
  15. 26 Aug, 2021 2 commits
  16. 17 Aug, 2021 2 commits
  17. 05 Aug, 2021 2 commits
  18. 30 Jul, 2021 1 commit
  19. 28 Jul, 2021 1 commit
  20. 25 Jun, 2021 1 commit
  21. 24 Jun, 2021 2 commits
  22. 31 May, 2021 3 commits
  23. 27 May, 2021 1 commit