updateMediaStorageConfiguration
abstract suspend fun updateMediaStorageConfiguration(input: UpdateMediaStorageConfigurationRequest): UpdateMediaStorageConfigurationResponse
Associates a SignalingChannel to a stream to store the media. There are two signaling modes that you can specify :
If
StorageStatusis enabled, the data will be stored in theStreamARNprovided. In order for WebRTC Ingestion to work, the stream must have data retention enabled.If
StorageStatusis disabled, no data will be stored, and theStreamARNparameter will not be needed.
If StorageStatus is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the JoinStorageSession API to trigger an SDP offer send and establish a connection between a peer and the storage session.