These structs will be used for ORTC objects (and their WebRTC equivalents). This CL also introduces some minor changes to the existing implemented structs: - max_bitrate_bps uses rtc::Optional instead of "-1 means unset" - "mime_type" turned into "name"/"kind" (which can be used to form the MIME type string, if needed). - clock_rate and channels changed to rtc::Optional, since they will need to be for RtpSender.send(). - Renamed "channels" to "num_channels" (the ORTC name, which I prefer). BUG=webrtc:7013, webrtc:7112 Review-Url: https://codereview.webrtc.org/2651883010 Cr-Commit-Position: refs/heads/master@{#16437}
This directory holds a Java implementation of the webrtc::PeerConnection API, as
well as the JNI glue C++ code that lets the Java implementation reuse the C++
implementation of the same API.
To build the Java API and related tests, generate GN projects with:
--args='target_os="android"'
To use the Java API, start by looking at the public interface of
org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest.
To understand the implementation of the API, see the native code in jni/.