VideoToolBox decoder/encoder for MacOS & iOS (#19)
* VideoDecoderFactory wrapper * wip * fix compilation * add notes * upgrade webrtc version
This commit is contained in:
+5
-1
@@ -8,7 +8,7 @@ use std::path;
|
||||
use std::process::Command;
|
||||
use tar::Archive;
|
||||
|
||||
const WEBRTC_TAG: &str = "m104.5112.06";
|
||||
const WEBRTC_TAG: &str = "m104.5112.07";
|
||||
|
||||
fn download_prebuilt(
|
||||
target_os: &str,
|
||||
@@ -156,6 +156,8 @@ fn main() {
|
||||
builder.file("src/rtp_transceiver.cpp");
|
||||
builder.file("src/rtc_error.cpp");
|
||||
builder.file("src/webrtc.cpp");
|
||||
builder.file("src/video_encoder_factory.cpp");
|
||||
builder.file("src/video_decoder_factory.cpp");
|
||||
|
||||
for include in includes {
|
||||
builder.include(include);
|
||||
@@ -232,6 +234,8 @@ fn main() {
|
||||
}
|
||||
}
|
||||
|
||||
builder.file("src/objc_video_factory.mm");
|
||||
|
||||
builder
|
||||
.flag("-stdlib=libc++")
|
||||
.flag("-std=c++17")
|
||||
|
||||
Reference in New Issue
Block a user