open

open suspend override fun open(descriptor: MediaDescriptor)

Opens the endpoints. For specific behavior like reconnecting your remote endpoint, you can override this method.

If the descriptor is a CombineDescriptor and has the same number of descriptors as endpoints, it opens each endpoint with the corresponding descriptor.

If the descriptor is not a CombineDescriptor or has a different number of descriptors. It throws an IllegalArgumentException.

Parameters

descriptor

Media descriptor