File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments