setPlaybackTimeout method
设置拉流超时时间, 需要在设置播放路径接口后调用(范围: 0 ~ 10秒,不包括0,默认是10秒,设置的值超过10秒使用默认值) Set the playback timeout. Call the API after you configure the playback path. Timeout range: 0 ~ 10 seconds. The value 0 is excluded. The default value is 10. If a value is set to a number greater than 10, the default value is applied.
Implementation
Future<void> setPlaybackTimeout(int timeout) {
return NeliveplayerPlatform.instance.setPlaybackTimeout(_playerId, timeout);
}