self.dataChannel = [self.peerConnection dataChannelForLabel:label configuration:[[RTCDataChannelConfiguration alloc] init]];
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/8a28d9ca-afb5-4ba4-b402-3667de37cd11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
is the likely assert you are hittingWhich means that one of these is returning nullptr:@deadbeef do you know why data channel creation could fail?
On Thu, Jan 19, 2017 at 2:37 AM Xavi R. Pinteño <fri...@gmail.com> wrote:
Hello,--I'm currently using iOS framework r15970 though I've seen it also in few older ones.I create an RTCDataChannel like this, so nothing special, label is just a regular NSString containing a text.
self.dataChannel = [self.peerConnection dataChannelForLabel:label configuration:[[RTCDataChannelConfiguration alloc] init]];
But from time to time, very seldom, I get a report from crashlytics which says:Invalid parameter not satisfying: nativeDataChannelIssue comes from RTCPeerConnection+DataChannel.mm when creating a DataChannel.Has anyone encounter this at all? Since I'm using default configuration I'm almost certain I'm doing nothing wrong on that call.Best regards
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
- PeerConnection is closed.
- Config is invalid (which couldn't happen with your code snippet).
- Ran out of SCTP stream IDs, which should only happen if you created (and didn't close) 512 data channels.
You may be able to find an error message in the native log.
On Thu, Jan 19, 2017 at 6:20 PM, Zeke Chin <tkc...@webrtc.org> wrote:
is the likely assert you are hittingWhich means that one of these is returning nullptr:@deadbeef do you know why data channel creation could fail?
On Thu, Jan 19, 2017 at 2:37 AM Xavi R. Pinteño <fri...@gmail.com> wrote:
Hello,--I'm currently using iOS framework r15970 though I've seen it also in few older ones.I create an RTCDataChannel like this, so nothing special, label is just a regular NSString containing a text.
self.dataChannel = [self.peerConnection dataChannelForLabel:label configuration:[[RTCDataChannelConfiguration alloc] init]];
But from time to time, very seldom, I get a report from crashlytics which says:Invalid parameter not satisfying: nativeDataChannelIssue comes from RTCPeerConnection+DataChannel.mm when creating a DataChannel.Has anyone encounter this at all? Since I'm using default configuration I'm almost certain I'm doing nothing wrong on that call.Best regards
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
2017-02-13 23:49:51.279551 WebRTCDemo[1454:304850] *** Assertion failure in -[RTCDataChannel initWithNativeDataChannel:], ../../webrtc/sdk/objc/Framework/Classes/RTCDataChannel.mm:170
2017-02-13 23:49:51.280737 WebRTCDemo[1454:304850] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: nativeDataChannel'
*** First throw call stack:
(0x1e7e4df7 0x1da47077 0x1e7e4cd1 0x1f0df931 0x424bad 0x42b459 0xd24b4 0xd2954 0xc972c 0xca67c 0xcf304 0xc4030 0x365c68 0x369040 0x3627d0 0x1125ba9 0x1116d43 0x111b5e1 0x1e7a04a7 0x1e79e78f 0x1e6ed533 0x1e6ed341 0x1fec4bfd 0x238fbe67 0x238f6591 0xd6390 0x1deb750b)
libc++abi.dylib: terminating with uncaught exception of type NSException