Modules
WebRTC peer connections on a Mob device, with the same calls on iOS, Android and the host.
Opus audio between the device's audio stream and a peer's RTP.
What a WebRTC implementation provides to MobWebrtc.Peer.
ex_webrtc as a MobWebrtc.Engine: the protocol stack in Elixir, with
DTLS and SRTP in the static ex_dtls / ex_libsrtp NIFs. Every peer uses
the app's one key and certificate from MobWebrtc.KeyCert.
A MobWebrtc.Engine with no network and no native code, for host tests and
for driving a screen when there's no remote peer.
H264 over RTP (RFC 6184, packetization mode 1), both directions.
One DTLS key and certificate for every peer the app opens.
Gets the static ex_dtls, ex_libsrtp and ex_sctp NIFs loading on a Mob
device.
One peer connection: owns the engine's connection, forwards its events to
the owner as {:mob_webrtc, peer, event}, and keeps the counters
MobWebrtc.status/0 reports.
The plugin's on-device proof (Mob.Plugin.SelfTest), run by
mix mob.selftest. Each step needs a real answer from native code
Shows a remote H264 track in a MobWebrtc.VideoView.
The native view a remote video track is shown in: a decoded H264 picture,
scaled to fit. Place it with MobWebrtc.video_view/1 and feed it with
MobWebrtc.Video, both naming the same :id.