Package-level declarations

Types

Link copied to clipboard
open class CombineEndpoint(val endpointInternals: List<IEndpointInternal>) : IEndpointInternal

Combines multiple endpoints into one. This endpoint will write frames to all endpoints if they are opened.

Link copied to clipboard

A factory to build a CombineEndpoint.

Link copied to clipboard
open class DualEndpoint(mainEndpoint: IEndpointInternal, secondEndpoint: IEndpointInternal) : CombineEndpoint

An implementation of CombineEndpoint that combines two endpoints. The mainEndpoint is the only one closed and opened by this endpoint. The secondEndpoint is opened and closed by the user.

Link copied to clipboard

A factory to build a DualEndpoint.

Link copied to clipboard

An implementation of IEndpointInternal where the endpoint is created based on the MediaDescriptor.

Link copied to clipboard
Link copied to clipboard

A DynamicEndpoint for local endpoints.

Link copied to clipboard
interface IEndpoint
Link copied to clipboard

An IEndpointInternal implementation of the MediaMuxer.

Link copied to clipboard

Media scheme. Use to determine the type of sink.

Properties

Link copied to clipboard

Whether the sink is local (ie. a local file) or not.

Functions

Link copied to clipboard

Combines multiple endpoints into one.

Link copied to clipboard

A factory to build a CombineEndpoint from a vararg of IEndpointInternal.

A factory to build a CombineEndpoint from a varargs of IEndpointInternal.Factory.

A factory to build a CombineEndpoint from a list of IEndpointInternal.Factory.

Link copied to clipboard
fun DualEndpointFactory(context: Context, mainEndpointFactory: IEndpointInternal.Factory, secondEndpointFactory: IEndpointInternal.Factory): DualEndpointFactory

A factory to build a DualEndpoint.

Link copied to clipboard

Opens the secondEndpoint and starts the stream.