webrtc-sdk/webrtc

Error syntaxError during build

fiather opened this issue · 0 comments

error does not occur in m104_release, but error occurs in m114_release

SyntaxError: Inner class (MediaStreamTrack.MediaType) can not be used directly by JNI. Please import the outer class, probably:
import org.webrtc.MediaStreamTrack;

.gclient
solutions = [
{
"name": "src",
"url": "https://github.com/webrtc-sdk/webrtc.git@m114_release",
"deps_file": "DEPS",
"managed": False,
"custom_deps": {},
},
]
target_os = ["android", "unix"]

gn gen out/Debug --args='target_os="android" target_cpu="arm64"'
ninja -C out/Debug