CombineEndpoint
Combines multiple endpoints into one. This endpoint will write frames to all endpoints if they are opened.
For example, you can combine a local endpoint and a remote endpoint to record and stream at the same time.
For specific behavior like reconnecting your remote endpoint, you can create a custom endpoint that inherits from CombineEndpoint and override open, close, startStream, stopStream.
Inheritors
Types
Properties
Internal map of endpoint streamId to real streamIds
The union of all endpoints' IEndpoint.IEndpointInfo.
Whether at least one endpoint is open. This is a combination of all endpoints' IEndpoint.isOpenFlow.
Throws UnsupportedOperationException because CombineEndpoint does not have metrics.
Functions
Registers a new stream to the IEndpointInternal.
Registers new streams to the IEndpointInternal.
The union of all endpoints' IEndpoint.IEndpointInfo.
Gets configuration information
Opens the endpoints. For specific behavior like reconnecting your remote endpoint, you can override this method.
Releases an IEndpointInternal.
Starts all endpoints
Stops all endpoints