[feat] use original webrtc header defines

This commit is contained in:
dijunkun
2025-01-16 17:33:46 +08:00
parent a8e9609736
commit 6e2a52e506
90 changed files with 6959 additions and 546 deletions

View File

@@ -41,7 +41,9 @@ target("log")
target("common")
set_kind("object")
add_files("src/common/common.cpp")
add_files("src/common/common.cpp",
"src/common/rtc_base/numerics/*.cc",
"src/common/api/units/*.cc")
add_includedirs("src/common", {public = true})
target("inih")
@@ -100,7 +102,7 @@ target("ws")
target("rtp")
set_kind("object")
add_deps("log", "frame", "ringbuffer", "thread", "rtcp", "fec", "statistics")
add_deps("log", "common", "frame", "ringbuffer", "thread", "rtcp", "fec", "statistics")
add_files("src/rtp/*.cpp",
"src/rtp/rtp_packet/*.cpp")
add_includedirs("src/rtp",
@@ -120,7 +122,8 @@ target("rtcp")
target("qos")
set_kind("object")
add_deps("log", "rtp", "rtcp")
add_files("src/qos/*.cpp")
add_files("src/qos/*.cc",
"src/qos/*.cpp")
add_includedirs("src/qos", {public = true})
target("channel")