enableCNG method

Future<int> enableCNG({
  1. required bool enable,
})

Enables or disables Comfort Noise Generation (CNG).

CNG generates artificial background noise during silent periods to avoid dead silence, which can make users think the connection was lost.

Parameters:

  • enable: Whether to enable CNG (default: true)

Returns 0 on success, negative error code on failure.

Implementation

Future<int> enableCNG({required bool enable}) async {
  throw UnimplementedError('enableCNG has not been implemented.');
}