medooze / libdatachannels Goto Github PK
View Code? Open in Web Editor NEWLean and mean WebRTC datachannels C++ library with ad-hoc SCTP stack
License: MIT License
Lean and mean WebRTC datachannels C++ library with ad-hoc SCTP stack
License: MIT License
Missing std header usage (in context of building with medooze-media-server).
In file included from ../media-server/include/media.h:10,
from ../media-server/include/rtp/RTPPacket.h:17,
from ../media-server/include/rtp/RTPIncomingMediaStream.h:18,
from ../media-server/include/ActiveSpeakerMultiplexer.h:4,
from ../media-server/src/ActiveSpeakerMultiplexer.cpp:1:
../media-server/ext/libdatachannels/src/internal/BufferReader.h: In member function ‘uint64_t BufferReader::DecodeLev128()’:
../media-server/ext/libdatachannels/src/internal/BufferReader.h:137:29: error: ‘numeric_limits’ is not a member of ‘std’
137 | return std::numeric_limits<uint64_t>::max();
| ^~~~~~~~~~~~~~
../media-server/ext/libdatachannels/src/internal/BufferReader.h:137:52: error: expected primary-expression before ‘>’ token
137 | return std::numeric_limits<uint64_t>::max();
| ^
../media-server/ext/libdatachannels/src/internal/BufferReader.h:137:55: error: ‘::max’ has not been declared; did you mean ‘std::max’?
137 | return std::numeric_limits<uint64_t>::max();
| ^~~
| std::max
It seems past versions of gcc were possibly adding this header by default. Only noticed when attempting to build on Ubuntu 21.10 (which is now on gcc-11).
Simple temp workaround, get gcc-9 or earlier and export CC=gcc-9 CXX=g++-9
When you find the time can you kindly create a basic copy/paste example?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.