acestream-http-proxy icon indicating copy to clipboard operation
acestream-http-proxy copied to clipboard

Access to settings to change live buffer

Open julioplz opened this issue 10 months ago • 5 comments

Hi again. I'm trying to find any setting to change live buffer to 60 seconds but I don't know how to access this settings on a remote server. Can anyone help, please? Thank you in advance.

julioplz avatar Feb 10 '25 20:02 julioplz

Hi, you can try it like this:

environment: - EXTRA_FLAGS=--live-buffer 60

Regards.

DrwOOx avatar Feb 23 '25 06:02 DrwOOx

live-buffer 60 not exist here: https://docs.acestream.net/developers/engine-command-line-options/

I too want know how I can enable buffering, I see in doc this line: --use-internal-buffering But when I add this line: environment:

  • EXTRA_FLAGS=--use-internal-buffering true or
  • EXTRA_FLAGS='--use-internal-buffering true'

Not working for me and the container stopped

Alice89634 avatar Feb 27 '25 07:02 Alice89634

You can only use these specifics args :

 docker exec -it acestream-acestream2-3 /opt/acestream/acestreamengine
Missing required startup options
usage: acestreamengine
                       [--client-console | --client-wx | --client-gtk | --stream-source-node | --stream-support-node | --stream-startup-node | --control-node | --create-transport | --create-transport-multi | --create-hls-transport | --publish-hls-stream | --start-tracker | --get-infohash PATH | --get-file-info PATH | --get-file-info-with-id PATH | -v]
                       [--gui-wx | --gui-gtk] [--log-stdout | --log-stderr] [--log-stdout-level LEVEL]
                       [--log-stderr-level LEVEL] [--log-file PATH] [--log-file-mode MODE] [--log-max-size SIZE]
                       [--log-backup-count COUNT] [--log-file-buffer N] [--log-file-encoding LOG_FILE_ENCODING]
                       [--log-syslog HOST] [--log-syslog-port PORT] [--log-syslog-facility FACILITY]
                       [--log-syslog-buffer N] [--disable-sentry] [--debug-sentry] [--use-ffmpeg USE_FFMPEG]
                       [--download-limit DOWNLOAD_LIMIT] [--upload-limit UPLOAD_LIMIT] [--max-connections MAX_CONNECTIONS]
                       [--max-peers MAX_PEERS] [--max-peers-limit MAX_PEERS_LIMIT]
                       [--max-timeshift-peers MAX_TIMESHIFT_PEERS] [--max-upload-slots MAX_UPLOAD_SLOTS]
                       [--live-cache-type LIVE_CACHE_TYPE] [--live-disk-cache-size LIVE_DISK_CACHE_SIZE]
                       [--live-mem-cache-size LIVE_MEM_CACHE_SIZE] [--vod-cache-type VOD_CACHE_TYPE]
                       [--disk-cache-limit DISK_CACHE_LIMIT] [--memory-cache-limit MEMORY_CACHE_LIMIT] [--verbose VERBOSE]
                       [--enable-profiler ENABLE_PROFILER] [--user-agent USER_AGENT]

--use-internal-buffering is not available in the binary used by this project (version:3.1.75rc4 revision:d7429ec), hence why the args parser goes haywire and the app crash when passing this argument (it doesn't exist).

I've found more docs here : https://wiki.acestream.media/AceStream_3.0/en

EDIT : Ok, no it definitely seems nothing added as $EXTRA_FLAGS works, even existing flags.

2025-03-12 19:56:19,372|MainThread|acestream.cli|Failed to init GTK
Traceback (most recent call last):
  File "ACEStream/cli/__init__.py", line 27, in <module>
ModuleNotFoundError: No module named 'gi'
2025-03-12 19:56:19,424|raven-sentry.BackgroundWorker|urllib3.connectionpool|Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7081bcde36d0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5998200/store/
Usage: acestreamengine [OPTIONS] COMMAND [ARGS]...
Try 'acestreamengine --help' for help.

Error: No such option: --client-console

env used

    environment:
        - ALLOW_REMOTE_ACCESS=yes
        - LC_ALL=C.UTF-8
        - LANG=C.UTF-8
        - EXTRA_FLAGS='--live-cache-type memory'

Write avatar Mar 12 '25 19:03 Write

You should not use ' mark with EXTRA_FLAGS. Below config works for me

services:
  acestreamengine:
    image: ghcr.io/martinbjeldbak/acestream-http-proxy:2.3.0
    restart: unless-stopped
    ports:
      - '6878:6878'
    environment:
      - ALLOW_REMOTE_ACCESS=no
      - EXTRA_FLAGS=--live-cache-type memory

iercan avatar Mar 21 '25 12:03 iercan

Hi everyone,

I’m trying to set the live buffer to 60 seconds, but I haven’t found how to do it yet. Has anyone managed to configure this? I’d really appreciate any tips or guidance.

davidciria avatar Sep 15 '25 12:09 davidciria