Skip to content

Commit

Permalink
ugly workaroud
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Oct 26, 2024
1 parent aad9f99 commit a78053f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
src/*.o*
*.o*
*.a
*.tar.gz
webrtc-streamer
Expand All @@ -15,7 +15,7 @@ package-lock.json
*.cmake
*.ilk
CMakeCache.txt
CMakeFiles
CMakeFiles/
*.manifest
_CPack_Packages
live
Expand Down
6 changes: 6 additions & 0 deletions src/PeerConnectionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit a78053f

Please sign in to comment.