Agora On-Premise-Recording-Nodejs build.sh Dockerfile 错误

问题描述 投票:0回答:1

我在 Dockerfile 设置中遇到 Agora 的 On-Premise-Recording-Nodejs 构建问题。 build.sh 脚本抛出多个与 IAgoraRecordingEngine.h 中变量初始化顺序相关的 C++ 警告。具体来说,这些警告是关于 RecordingConfig 构造函数中的某些成员变量如何以与在类中声明的顺序不同的顺序进行初始化的。

记录错误

Screen log error 1

Screen log error 2

Dockerfile

FROM ubuntu:18.04

RUN apt-get update && apt-get install -y \
    curl \
    gnupg \
    build-essential \
    gcc \
    g++ \
    make \
    git \
    ffmpeg \
    tar \
    tree \
    python3 \
    && curl -fsSL https://deb.nodesource.com/setup_14.x | bash -  && \
    apt-get install -y nodejs \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* \
    && npm install -g [email protected]

ADD https://download.agora.io/ardsdk/release/Agora_Recording_SDK_for_Linux_v2_3_4_FULL.tar.gz /tmp/
RUN tar -xzf /tmp/Agora_Recording_SDK_for_Linux_v2_3_4_FULL.tar.gz -C /tmp/ && \
    rm /tmp/Agora_Recording_SDK_for_Linux_v2_3_4_FULL.tar.gz

RUN git clone --branch dev/nodejs14 https://github.com/AgoraIO/Basic-Recording.git /tmp/Basic-Recording
RUN mv /tmp/Agora_Recording_SDK_for_Linux_FULL /tmp/Basic-Recording/On-Premise-Recording-Nodejs/record/src/sdk

RUN cd /tmp/Basic-Recording/On-Premise-Recording-Nodejs/record && ./build_debug.sh
node.js gcc dockerfile agora.io node-gyp
1个回答
0
投票

对于那些可能有帮助的人,我使用 Agora 的资源基于最初的概念开发了一个替代解决方案。您可以在这里找到该项目:https://github.com/lkaopremier/agora-on-premise-recording

© www.soinside.com 2019 - 2024. All rights reserved.