stopStreaming static method

Future<bool> stopStreaming(
  1. Bridge bridge,
  2. String entertainmentConfigurationId,
  3. DtlsData dtlsData, {
  4. String decrypter(
    1. String ciphertext
    )?,
})

Stop streaming for the givin entertainmentConfiguration.

Implementation

static Future<bool> stopStreaming(
  Bridge bridge,
  String entertainmentConfigurationId,
  DtlsData dtlsData, {
  String Function(String ciphertext)? decrypter,
}) async {
  await dtlsData.tryDisconnect();

  return await _stopStreaming(
    bridge,
    entertainmentConfigurationId,
    decrypter: decrypter,
  );
}