feat: video publishing (#42)

- Prepare webrtc abstraction ( for future wasm support )
- Added track publish support for videos
  - Added LogoTrack example to simple_room demo
- Lot of cleanup
- There are compiler warnings I'll solve on our v1 release
This commit is contained in:
Théo Monnom
2023-03-18 03:25:16 +01:00
committed by GitHub
parent 4443eae434
commit cad6d36201
123 changed files with 8534 additions and 4601 deletions
+6
View File
@@ -1,6 +1,9 @@
# Ignore this file if you have no intention of using a custom libwebrtc build.
import platform
import subprocess
# Edit the target_os/target_cpu to match your platform.
GN_ARGS = [
"is_debug=true",
"treat_warnings_as_errors=false",
@@ -18,3 +21,6 @@ GN_ARGS = [
cmd = ["gn", "gen", "out/Dev", "--args=" + ' '.join(GN_ARGS)]
print("Executing:", cmd)
subprocess.call(cmd, shell=platform.system() == "Windows")
# Use this command when developing on libwebrtc:
# ninja -C out/Dev sdk:default_codec_factory_objc api api/task_queue:default_task_queue_factory api/audio_codecs:builtin_audio_decoder_factory sdk:videocapture_objc pc:peerconnection sdk:native_api callback_logger_objc default