Skip to content

Commit

Permalink
fix(change method call): createDataStream
Browse files Browse the repository at this point in the history
  • Loading branch information
RoJoHub committed Apr 9, 2021
1 parent 1b3488e commit 6783442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/rtc_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class RtcChannel with RtcChannelInterface {
@override
Future<int> createDataStreamWithConfig(DataStreamConfig config) {
return _invokeMethod(
'createDataStreamWithConfig', {'config': config.toJson()});
'createDataStream', {'config': config.toJson()});
}

@override
Expand Down
2 changes: 1 addition & 1 deletion lib/src/rtc_engine.dart
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ class RtcEngine with RtcEngineInterface {
@override
Future<int> createDataStreamWithConfig(DataStreamConfig config) {
return _invokeMethod(
'createDataStreamWithConfig', {'config': config.toJson()});
'createDataStream', {'config': config.toJson()});
}

@override
Expand Down

0 comments on commit 6783442

Please sign in to comment.