PeerConnectionFactory

Java wrapper for a C++ PeerConnectionFactoryInterface. Main entry point to the PeerConnection API for clients.

Types

Link copied to clipboard
open class Builder
Link copied to clipboard
Link copied to clipboard
open class Options

Properties

Link copied to clipboard
val TRIAL_ENABLED: String = "Enabled"
Link copied to clipboard
val VIDEO_FRAME_EMIT_TRIAL: String = "VideoFrameEmit"

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun createVideoSource(isScreencast: Boolean): VideoSource
Same as above with alignTimestamps set to true.
open fun createVideoSource(isScreencast: Boolean, alignTimestamps: Boolean): VideoSource
Create video source with given parameters.
Link copied to clipboard
Link copied to clipboard
open fun dispose()
Link copied to clipboard
Link copied to clipboard
Returns a pointer to the native OwnedFactoryAndThreads object
Link copied to clipboard
Returns a pointer to the native webrtc::PeerConnectionFactoryInterface.
Link copied to clipboard
Loads and initializes WebRTC.
Link copied to clipboard
open fun initializeFieldTrials(fieldTrialsInitString: String)
Link copied to clipboard
open fun printInternalStackTraces(printNativeStackTraces: Boolean)
Print the Java stack traces for the critical threads used by PeerConnectionFactory, namely; signaling thread, worker thread, and network thread.
Link copied to clipboard
open fun printStackTraces()
Deprecated, use non-static version instead.
Link copied to clipboard
Link copied to clipboard
open fun startAecDump(file_descriptor: Int, filesize_limit_bytes: Int): Boolean
Link copied to clipboard
open fun startInternalTracingCapture(tracingFilename: String): Boolean
Link copied to clipboard
open fun stopAecDump()
Link copied to clipboard