rtmp-server-node icon indicating copy to clipboard operation
rtmp-server-node copied to clipboard

build error on macos

Open notedit opened this issue 5 years ago • 4 comments

../media-server/include/config.h:44:20: note: expanded from macro 'FD_INVALID'
#define FD_INVALID      (int)-1
                        ^
../media-server/src/rtp/RTPPacket.cpp:240:55: error: call to unavailable member function 'value': introduced in macOS
      10.14
                auto vp8NewPayloadDescriptor = vp8PayloadDescriptor.value();

notedit avatar Mar 03 '20 05:03 notedit

seems an error mac not supporting std::optional but this error should happen also on media server. Also the FD_INVALID is an error or a warning?

murillo128 avatar Mar 04 '20 13:03 murillo128

FD_INVALID is a warning

notedit avatar Mar 04 '20 13:03 notedit

does the media server compile on same machine?

murillo128 avatar Mar 04 '20 13:03 murillo128

yes, media-server-node compile without error

notedit avatar Mar 04 '20 13:03 notedit