Skip to content

Commit

Permalink
[example] Remove PushEncodedVideoFrame (#2054)
Browse files Browse the repository at this point in the history
Remove the `PushEncodedVideoFrame` case from the example, since the
`pushEncodedVideoImage` API is no longer publicly available.
  • Loading branch information
littleGnAl authored Oct 25, 2024
1 parent e9d6bcf commit 3b69753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 227 deletions.
7 changes: 2 additions & 5 deletions example/lib/examples/advanced/index.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'dart:io';

import 'package:agora_rtc_engine_example/examples/advanced/music_player/music_player.dart';
import 'package:agora_rtc_engine_example/examples/advanced/push_encoded_video_frame/push_encoded_video_frame.dart';
import 'package:agora_rtc_engine_example/examples/advanced/push_video_frame/push_video_frame.dart';
import 'package:agora_rtc_engine_example/examples/advanced/rtmp_streaming/rtmp_streaming.dart';
import 'package:agora_rtc_engine_example/examples/advanced/screen_sharing/screen_sharing.dart';
Expand Down Expand Up @@ -36,7 +35,8 @@ import 'voice_changer/voice_changer.dart';
/// Data source for advanced examples
final advanced = [
{'name': 'Advanced'},
if (!kIsWeb) {'name': 'AudioEffectMixing', 'widget': const AudioEffectMixing()},
if (!kIsWeb)
{'name': 'AudioEffectMixing', 'widget': const AudioEffectMixing()},
if (!kIsWeb)
{'name': 'ChannelMediaRelay', 'widget': const ChannelMediaRelay()},
if (kIsWeb || !(Platform.isAndroid || Platform.isIOS))
Expand Down Expand Up @@ -88,9 +88,6 @@ final advanced = [
if (!kIsWeb)
{'name': 'MediaRecorder', 'widget': const MediaRecorderExample()},
if (!kIsWeb) {'name': 'PushVideoFrame', 'widget': const PushVideoFrame()},
// {'name': 'PushAudioFrame', 'widget': const PushAudioFrame()},
if (!kIsWeb)
{'name': 'PushEncodedVideoFrame', 'widget': const PushEncodedVideoFrame()},
if (!kIsWeb)
{
'name': 'SpatialAudioWithMediaPlayer',
Expand Down

This file was deleted.

0 comments on commit 3b69753

Please sign in to comment.