diff --git a/lib/src/agora_base.dart b/lib/src/agora_base.dart index 0292a6875..8976a221f 100644 --- a/lib/src/agora_base.dart +++ b/lib/src/agora_base.dart @@ -3996,10 +3996,6 @@ class LocalTranscoderConfiguration { /// The error code of the local video mixing failure. @JsonEnum(alwaysCreate: true) enum VideoTranscoderError { - /// @nodoc - @JsonValue(0) - vtErrOk, - /// 1: The selected video source has not started video capture. You need to create a video track for it and start video capture. @JsonValue(1) vtErrVideoSourceNotReady, diff --git a/lib/src/agora_base.g.dart b/lib/src/agora_base.g.dart index a8c584c16..6e9fca175 100644 --- a/lib/src/agora_base.g.dart +++ b/lib/src/agora_base.g.dart @@ -2518,7 +2518,6 @@ const _$ConnectionStateTypeEnumMap = { }; const _$VideoTranscoderErrorEnumMap = { - VideoTranscoderError.vtErrOk: 0, VideoTranscoderError.vtErrVideoSourceNotReady: 1, VideoTranscoderError.vtErrInvalidVideoSourceType: 2, VideoTranscoderError.vtErrInvalidImagePath: 3, diff --git a/lib/src/binding/event_handler_param_json.g.dart b/lib/src/binding/event_handler_param_json.g.dart index 52fd6ba93..56ad02de2 100644 --- a/lib/src/binding/event_handler_param_json.g.dart +++ b/lib/src/binding/event_handler_param_json.g.dart @@ -2950,7 +2950,6 @@ Map }; const _$VideoTranscoderErrorEnumMap = { - VideoTranscoderError.vtErrOk: 0, VideoTranscoderError.vtErrVideoSourceNotReady: 1, VideoTranscoderError.vtErrInvalidVideoSourceType: 2, VideoTranscoderError.vtErrInvalidImagePath: 3, diff --git a/test_shard/fake_test_app/integration_test/generated/rtcengine_rtcengineeventhandler_testcases.generated.dart b/test_shard/fake_test_app/integration_test/generated/rtcengine_rtcengineeventhandler_testcases.generated.dart index 061cc9a35..4ac69077f 100644 --- a/test_shard/fake_test_app/integration_test/generated/rtcengine_rtcengineeventhandler_testcases.generated.dart +++ b/test_shard/fake_test_app/integration_test/generated/rtcengine_rtcengineeventhandler_testcases.generated.dart @@ -5769,7 +5769,8 @@ void generatedTestCases(IrisTester irisTester) { alpha: streamAlpha, mirror: streamMirror, ); - const VideoTranscoderError error = VideoTranscoderError.vtErrOk; + const VideoTranscoderError error = + VideoTranscoderError.vtErrVideoSourceNotReady; final eventJson = { 'stream': stream.toJson(), @@ -5884,3 +5885,4 @@ void generatedTestCases(IrisTester irisTester) { timeout: const Timeout(Duration(minutes: 1)), ); } +