Package com.codename1.webrtc
package com.codename1.webrtc
Real-time audio and video calls between devices: WebRTC.
WebRtc opens the camera and microphone and creates a PeerConnection;
a VideoView draws a video track. The app carries the
SessionDescription and IceCandidate values between the two sides over
its own signalling. Ringing, the system call screen and waking a device
for an incoming call are com.codename1.call, which a calling app uses
beside this package.
Referencing this package is what adds the native WebRTC library to an Android or iOS build, along with the camera and microphone permissions; an app that does not use it pays for none of that.
-
ClassDescriptionA network path one side found to itself, to be tried by the other side.A STUN or TURN server a
PeerConnectionmay use to find a path to the other side.The camera and microphone this device opened withWebRtc.openUserMedia(boolean, boolean, boolean).One stream of audio or video: the local camera or microphone, or what arrives from the other side.One end of a call: the media this device sends, what it receives, and the network path between the two.What a peer connection tells the app as the call proceeds.How aPeerConnectionlooks for a path to the other side.One side's description of a session -- the codecs, the media and the transport keys -- in SDP.Draws a video track: the local camera's preview or the other side's picture.Real-time audio and video between two devices: the entry point of the package.