8000 Fixed #158. · CoreyCole/flutter-webrtc@ff5fcfc · GitHub
[go: up one dir, main page]

Skip to content

Commit ff5fcfc

Browse files
committed
1 parent fc725d5 commit ff5fcfc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ios/Classes/FlutterRTCDataChannel.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ -(void)createDataChannel:(nonnull NSString *)peerConnectionId
7777
dataChannel.delegate = self;
7878

7979
FlutterEventChannel *eventChannel = [FlutterEventChannel
80-
eventChannelWithName:[NSString stringWithFormat:@"FlutterWebRTC/dataChannelEvent%d", dataChannel.channelId]
80+
eventChannelWithName:[NSString stringWithFormat:@"FlutterWebRTC/dataChannelEvent%d", [dataChannelId intValue]]
8181
binaryMessenger:messenger];
8282

8383
dataChannel.eventChannel = eventChannel;

macos/Classes/FlutterRTCDataChannel.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ -(void)createDataChannel:(nonnull NSString *)peerConnectionId
7777
dataChannel.delegate = self;
7878

7979
FlutterEventChannel *eventChannel = [FlutterEventChannel
80-
eventChannelWithName:[NSString stringWithFormat:@"FlutterWebRTC/dataChannelEvent%d", dataChannel.channelId]
80+
eventChannelWithName:[NSString stringWithFormat:@"FlutterWebRTC/dataChannelEvent%d", [dataChannelId intValue]]
8181
binaryMessenger:messenger];
8282

8383
dataChannel.eventChannel = eventChannel;

0 commit comments

Comments
 (0
0