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
77
77
dataChannel.delegate = self;
78
78
79
79
FlutterEventChannel *eventChannel = [FlutterEventChannel
80
- eventChannelWithName: [NSString stringWithFormat: @" FlutterWebRTC/dataChannelEvent%d " , dataChannel.channelId ]
80
+ eventChannelWithName: [NSString stringWithFormat: @" FlutterWebRTC/dataChannelEvent%d " , [dataChannelId intValue ] ]
81
81
binaryMessenger: messenger];
82
82
83
83
dataChannel.eventChannel = eventChannel;
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ -(void)createDataChannel:(nonnull NSString *)peerConnectionId
77
77
dataChannel.delegate = self;
78
78
79
79
FlutterEventChannel *eventChannel = [FlutterEventChannel
80
- eventChannelWithName: [NSString stringWithFormat: @" FlutterWebRTC/dataChannelEvent%d " , dataChannel.channelId ]
80
+ eventChannelWithName: [NSString stringWithFormat: @" FlutterWebRTC/dataChannelEvent%d " , [dataChannelId intValue ] ]
81
81
binaryMessenger: messenger];
82
82
83
83
dataChannel.eventChannel = eventChannel;
You can’t perform that action at this time.
0 commit comments