Contents

connectReceiver(name:endpoint:)

Adds an Immersivemediaremotepreviewreceiver to the sender as an active participant of the network preview. Any updates on the sender will be propagated to all active receivers (frames, camera information, static metadata).

Declaration

func connectReceiver(name: String, endpoint: NWEndpoint) async throws

Parameters

  • name:

    The name associated with the receiver being connected.

Discussion