Add WebRTC support using libdatachannel

The WebRTC is exposed via `/video.html` endpoint
and enabled by default as long as h264 stream
is available.
This commit is contained in:
Kamil Trzcinski
2022-08-31 19:04:54 +02:00
parent ff81088824
commit 5ee0bee59f
19 changed files with 644 additions and 87 deletions

View File

@ -4,6 +4,8 @@
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/third_party/libdatachannel/include",
"${workspaceFolder}/third_party/libdatachannel/deps/json/include",
"/usr/include/libcamera",
"/usr/include/liveMedia",
"/usr/include/groupsock",
@ -13,7 +15,8 @@
"defines": [
"USE_LIBCAMERA=1",
"USE_FFMPEG=1",
"USE_RTSP=1"
"USE_RTSP=1",
"USE_LIBDATACHANNEL=1"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",