Skip to content

[FR] Add the scheduled sending mode for live mode sending#3198

Draft
ethouris wants to merge 37 commits into
Haivision:devfrom
ethouris:dev-sender-schedule
Draft

[FR] Add the scheduled sending mode for live mode sending#3198
ethouris wants to merge 37 commits into
Haivision:devfrom
ethouris:dev-sender-schedule

Fixed: deleted outdated doc file

9468f92
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Apr 9, 2026 in 24m 16s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #3198 [FR] Add the scheduled sending mode for live mode sending.
Any changes that have been made to the dev branch before the build ran are also included.

Jobs and Stages

This build has seven jobs, running in parallel.

Job Compiler ENV OS State
7436.1 BUILD_TYPE=Debug CFG="monotonic openssl werror" Linux passed
7436.2 BUILD_TYPE=Debug CFG="nologging mbedtls monotonic werror" Linux passed
7436.3 BUILD_TYPE=Release CFG="old-distro notests werror" Linux failed
7436.4 BUILD_TYPE=Release CFG=default Linux passed
7436.5 x86\_64-w64-mingw32-g++ BUILD_TYPE=Release CFG=notests Linux failed
7436.6 ARCH=PowerPC BUILD_TYPE=Debug Linux passed
7436.7 ARCH=PowerPC BUILD_TYPE=Release CFG=monotonic Linux passed

Build Configuration

Build Option Setting
Language C++
Operating System Linux (Trusty)
Build Configuration
{
  "language": "cpp",
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "addons": {
    "apt": {
      "packages": [
        "tclsh",
        "pkg-config",
        "cmake",
        "libssl-dev",
        "build-essential",
        "libmbedtls-dev",
        "gdb"
      ]
    },
    "homebrew": {
      "update": false,
      "packages": [
        "openssl"
      ]
    }
  },
  "jobs": {
    "include": [
      {
        "os": "linux",
        "env": [
          {
            "BUILD_TYPE": "Debug",
            "CFG": "\"monotonic openssl werror\""
          },
          {
            "CMAKE_OPTS": "'-DENABLE_BONDING=ON -DCMAKE_CXX_FLAGS=\"-Werror\"'"
          }
        ]
      },
      {
        "env": [
          {
            "BUILD_TYPE": "Debug",
            "CFG": "\"nologging mbedtls monotonic werror\""
          },
          {
            "CMAKE_OPTS": "'-DENABLE_LOGGING=OFF -DUSE_ENCLIB=mbedtls -DENABLE_MONOTONIC_CLOCK=ON -DENABLE_BONDING=ON -DCMAKE_CXX_FLAGS=\"-Werror\"'"
          }
        ]
      },
      {
        "os": "linux",
        "dist": "xenial",
        "env": [
          {
            "BUILD_TYPE": "Release",
            "CFG": "\"old-distro notests werror\""
          },
          {
            "CMAKE_OPTS": "'-DUSE_CXX_STD=C++98 -DCMAKE_CXX_FLAGS=\"-Werror\"'"
          }
        ]
      },
      {
        "os": "linux",
        "env": [
          {
            "BUILD_TYPE": "Release",
            "CFG": "default"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "x86_64-w64-mingw32-g++",
        "addons": {
          "apt": {
            "packages": [
              "gcc-mingw-w64-base",
              "binutils-mingw-w64-x86-64",
              "gcc-mingw-w64-x86-64",
              "gcc-mingw-w64",
              "g++-mingw-w64-x86-64"
            ]
          }
        },
        "before_script": [
          "git clone -b OpenSSL_1_1_1g https://github.com/openssl/openssl.git openssl",
          "cd openssl",
          "./Configure --cross-compile-prefix=x86_64-w64-mingw32- mingw64",
          "make",
          "cd .."
        ],
        "env": [
          {
            "BUILD_TYPE": "Release",
            "CFG": "notests"
          }
        ]
      },
      {
        "os": "linux",
        "arch": "ppc64le",
        "dist": "focal",
        "env": [
          {
            "ARCH": "PowerPC",
            "BUILD_TYPE": "Debug"
          }
        ]
      },
      {
        "arch": "ppc64le",
        "dist": "focal",
        "env": [
          {
            "ARCH": "PowerPC",
            "BUILD_TYPE": "Release",
            "CFG": "monotonic"
          },
          {
            "CMAKE_OPTS": "'-DENABLE_MONOTONIC_CLOCK=ON'"
          }
        ]
      }
    ]
  },
  "script": [
    "CMAKE_VERSION=$(cmake --version | head -1 | awk '{print $3}')",
    "echo CMAKE version $CMAKE_VERSION",
    "CMAKE_VERSION_OK=$(echo \"puts [package vcompare $CMAKE_VERSION 3.10]\" | tclsh);",
    "if [ \"$CMAKE_VERSION_OK\" == \"-1\" ]; then echo \"ERROR - cmake version too old, >=3.10 required\"; exit 1; fi;",
    "export REQUIRE_UNITTESTS=1",
    "if [[ $CFG == *\"notests\"* ]]; then REQUIRE_UNITTESTS=0; fi",
    "if [ \"$TRAVIS_COMPILER\" == \"x86_64-w64-mingw32-g++\" ]; then CMAKE_OPTS+=\" -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc\"; CMAKE_OPTS+=\" -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++\"; CMAKE_OPTS+=\" -DENABLE_STDCXX_SYNC=OFF -DENABLE_LOCALIF_WIN32=OFF -DENABLE_UNITTESTS=OFF -DUSE_OPENSSL_PC=OFF\"; CMAKE_OPTS+=\" -DOPENSSL_ROOT_DIR=$PWD/openssl\"; CMAKE_OPTS+=\" -DOPENSSL_CRYPTO_LIBRARY=$PWD/openssl/libcrypto-1_1-x64.dll\"; CMAKE_OPTS+=\" -DCMAKE_SYSTEM_NAME=Windows\"; REQUIRE_UNITTESTS=0; fi; if [ \"$TRAVIS_OS_NAME\" == \"osx\" ]; then export PKG_CONFIG_PATH=\"$(brew --prefix openssl)/lib/pkgconfig\"; fi; if (( $REQUIRE_UNITTESTS )); then CMAKE_OPTS+=\" -DENABLE_UNITTESTS=ON\"; fi;",
    "echo COMPILER $TRAVIS_COMPILER",
    "echo SYSTEM $TRAVIS_OS_NAME",
    "echo BUILD_TYPE $BUILD_TYPE",
    "echo CMAKE_OPTS $CMAKE_OPTS",
    "export SUCCESS=0",
    "cmake . --debug-output -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -DCMAKE_BUILD_TYPE=$BUILD_TYPE $CMAKE_OPTS 2>&1 || SUCCESS=$?;",
    "if (($SUCCESS == 0)); then echo \"Configure OK\"; else echo \"-- OUTPUT --\"; cat CMakeFiles/CMakeOutput.log || echo \"NO OUTPUT\"; echo \"-- ERRORS --\"; cat CMakeFiles/CMakeError.log || echo \"NO LOGS\"; exit 1; fi;",
    "make VERBOSE=1 -j$(nproc);",
    "if (( $REQUIRE_UNITTESTS )); then ulimit -c unlimited; if [ ! -f ./test-srt ]; then echo \"ERROR - UT application not found\"; false; else ./test-srt -disable-ipv6; SUCCESS=$?; if [ -f core ]; then gdb -batch ./test-srt -c core -ex bt -ex \"info thread\" -ex quit; else echo \"NO CORE - NO CRY!\"; fi; test $SUCCESS == 0; fi; fi;"
  ]
}