diff --git a/.gitignore b/.gitignore index c8effa92..0a07ee7c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -src/*.o* +*.o* *.a *.tar.gz webrtc-streamer @@ -15,7 +15,7 @@ package-lock.json *.cmake *.ilk CMakeCache.txt -CMakeFiles +CMakeFiles/ *.manifest _CPack_Packages live diff --git a/src/PeerConnectionManager.cpp b/src/PeerConnectionManager.cpp index 93e9cfd0..0da9c8b7 100755 --- a/src/PeerConnectionManager.cpp +++ b/src/PeerConnectionManager.cpp @@ -31,6 +31,12 @@ +// ugly workaound to define template belongs to webrtc +namespace rtc { + template <> std::string ToString(bool b) { return b ? "true" : "false"; } +} + + // Names used for a IceCandidate JSON object. const char kCandidateSdpMidName[] = "sdpMid"; const char kCandidateSdpMlineIndexName[] = "sdpMLineIndex";