Skip to content

Commit

Permalink
Comment out the video_raw_data
Browse files Browse the repository at this point in the history
  • Loading branch information
littleGnAl committed Mar 11, 2024
1 parent 73b6c45 commit 6b31daf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:agora_rtc_engine_example/components/example_actions_widget.dart'
import 'package:agora_rtc_engine_example/components/log_sink.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:video_raw_data/video_raw_data.dart';
// import 'package:video_raw_data/video_raw_data.dart';

/// ProcessVideoRawData Example
///
Expand All @@ -29,8 +29,8 @@ class _State extends State<ProcessVideoRawData> {
ChannelProfileType _channelProfileType =
ChannelProfileType.channelProfileLiveBroadcasting;

final VideoRawDataController _videoRawDataController =
VideoRawDataController();
// final VideoRawDataController _videoRawDataController =
// VideoRawDataController();

@override
void initState() {
Expand All @@ -47,7 +47,7 @@ class _State extends State<ProcessVideoRawData> {
}

Future<void> _dispose() async {
_videoRawDataController.dispose();
// _videoRawDataController.dispose();
await _engine.leaveChannel();
await _engine.release();
}
Expand Down Expand Up @@ -99,7 +99,7 @@ class _State extends State<ProcessVideoRawData> {

final nativeHandle = await _engine.getNativeHandle();

_videoRawDataController.initialize(nativeHandle);
// _videoRawDataController.initialize(nativeHandle);

await _engine.startPreview();

Expand Down
10 changes: 5 additions & 5 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ dependencies:
permission_handler: ^10.2.0
path_provider: ^2.0.8

video_raw_data:
git:
url: https://github.com/AgoraIO-Extensions/RawDataPluginSample.git
path: frameworks/flutter/video_raw_data
ref: 51dde78706a015743a993368f25a06df7960378e
# video_raw_data:
# git:
# url: https://github.com/AgoraIO-Extensions/RawDataPluginSample.git
# path: frameworks/flutter/video_raw_data
# ref: 51dde78706a015743a993368f25a06df7960378e

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 6b31daf

Please sign in to comment.