LINUX.ORG.RU

Ubuntu 16.04.5 проблема с компилированием MCU Media Server

 , , , ,


0

1

Пытаю собрать MCU Media Server, дошел уже до компилирования самого сервера, и вот тебе на.

root@ubuntu:/usr/local/src/mcumediaserver-code/media-server# make

/usr/local/src/mcumediaserver-code/media-server/include/rtp/RTPDepacketizer.h: In constructor ‘DummyAudioDepacketizer::DummyAudioDepacketizer(uint32_t)’:

/usr/local/src/mcumediaserver-code/media-server/include/rtp/RTPDepacketizer.h:55:119: error: no matching function for call to ‘AudioFrame::AudioFrame(AudioCodec::Type, int)’

DummyAudioDepacketizer(DWORD codec) : RTPDepacketizer(MediaFrame::Audio,codec), frame((AudioCodec::Type)codec,8000)

In file included from /usr/local/src/mcumediaserver-code/media-server/include/rtp/RTPDepacketizer.h:18:0,

from /usr/local/src/mcumediaserver-code/media-server/include/rtp.h:20,

from /usr/local/src/mcumediaserver-code/media-server/src/vp9/VP9Depacketizer.h:3,

from /usr/local/src/mcumediaserver-code/media-server/src/vp9/VP9Decoder.h:8,

from /usr/local/src/mcumediaserver-code/media-server/src/VideoCodecFactory.cpp:11:

/usr/local/src/mcumediaserver-code/media-server/include/audio.h:41:2: note: candidate: AudioFrame::AudioFrame(AudioCodec::Type, const std::shared_ptr<Buffer>&)

AudioFrame(AudioCodec::Type codec,const std::shared_ptr<Buffer>& buffer) : MediaFrame(MediaFrame::Audio,buffer)

/usr/local/src/mcumediaserver-code/media-server/include/audio.h:41:2: note: no known conversion for argument 2 from ‘int’ to ‘const std::shared_ptr<Buffer>&’

/usr/local/src/mcumediaserver-code/media-server/include/audio.h:35:2: note: candidate: AudioFrame::AudioFrame(AudioCodec::Type) AudioFrame(AudioCodec::Type codec) : MediaFrame(MediaFrame::Audio,2048)

/usr/local/src/mcumediaserver-code/media-server/include/audio.h:35:2: note: candidate expects 1 argument, 2 provided

/usr/local/src/mcumediaserver-code/media-server/include/audio.h:32:7: note: candidate: AudioFrame::AudioFrame(const AudioFrame&)

class AudioFrame : public MediaFrame

/usr/local/src/mcumediaserver-code/media-server/include/audio.h:32:7: note: candidate expects 1 argument, 2 provided

/usr/local/src/mcumediaserver-code/media-server/include/audio.h:32:7: note: candidate: AudioFrame::AudioFrame(AudioFrame&&)

/usr/local/src/mcumediaserver-code/media-server/include/audio.h:32:7: note: candidate expects 1 argument, 2 provided

Makefile:218: recipe for target 'VideoCodecFactory.o' failed make: *** [VideoCodecFactory.o] Error 1