Skip to content

Commit

Permalink
Merge branch 'rc/3.4.+' into rc/4.0.+
Browse files Browse the repository at this point in the history
# Conflicts:
#	lib/src/rtc_channel.dart
  • Loading branch information
LichKing-2234 committed May 17, 2021
2 parents 4d05a50 + 366eef1 commit 216c5ba
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 11 deletions.
1 change: 0 additions & 1 deletion lib/agora_rtc_engine_web.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'dart:async';

// In order to *not* need this ignore, consider extracting the "web" version
// of your plugin as a separate package, instead of inlining it in the same
// package as the core of your plugin.
Expand Down
4 changes: 2 additions & 2 deletions lib/rtc_local_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import 'package:flutter/gestures.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';

import './src/enums.dart';
import './src/rtc_render_view.dart';
import 'src/enums.dart';
import 'src/rtc_render_view.dart';

/// SurfaceView.
class SurfaceView extends RtcSurfaceView {
Expand Down
4 changes: 2 additions & 2 deletions lib/rtc_remote_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/services.dart';

import './src/enums.dart';
import './src/rtc_render_view.dart';
import 'src/enums.dart';
import 'src/rtc_render_view.dart';

/// SurfaceView.
class SurfaceView extends RtcSurfaceView {
Expand Down
1 change: 0 additions & 1 deletion lib/src/enums.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:json_annotation/json_annotation.dart';

import 'events.dart';
import 'rtc_engine.dart';

/// The area of connection.
enum AreaCode {
Expand Down
4 changes: 1 addition & 3 deletions lib/src/rtc_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import 'classes.dart';
import 'enum_converter.dart';
import 'enums.dart';
import 'events.dart';
import 'rtc_engine.dart';

/// The RtcChannel class.
class RtcChannel with RtcChannelInterface {
Expand Down Expand Up @@ -317,8 +316,7 @@ class RtcChannel with RtcChannelInterface {

@override
Future<int?> createDataStreamWithConfig(DataStreamConfig config) {
return _invokeMethod(
'createDataStream', {'config': config.toJson()});
return _invokeMethod('createDataStream', {'config': config.toJson()});
}

@override
Expand Down
2 changes: 0 additions & 2 deletions lib/src/rtc_render_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import 'package:flutter/widgets.dart';

import 'enum_converter.dart';
import 'enums.dart';
import 'rtc_channel.dart';
import 'rtc_engine.dart';

final Map<int, MethodChannel> _channels = {};

Expand Down

0 comments on commit 216c5ba

Please sign in to comment.