stasel / WebRTC

Unofficial distribution of up to date WebRTC framework binaries for iOS and macOS
Other
356 stars 75 forks source link

C++ interop in Swift #79

Open DePasqualeOrg opened 9 months ago

DePasqualeOrg commented 9 months ago

Would Swift's C++ interop make it possible to use the WebRTC source code directly in an Xcode project instead of a compiled binary? If this works, I imagine it would result in better type intelligence in Xcode.

paxsonsa commented 7 months ago

I believe that is theoretically possible but isn't c++ interop still experimental?

DePasqualeOrg commented 7 months ago

Ah, yes. It was released in Swift 5.9, but it looks like the API could still change: https://forums.swift.org/t/c-interoperability-in-swift-5-9