WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

[RTCPeerConnectionFactory mediaStreamWithStreamId:]

Open alexpell00 opened this issue 7 years ago • 1 comments

I am trying to create a local media stream like:

self.pcFactory = RTCPeerConnectionFactory() let localStream = pcFactory.mediaStream(withStreamId: "ARDAMS")

But this throws an error: -[RTCPeerConnectionFactory mediaStreamWithStreamId:]: unrecognized selector sent to instance 0x170033160 *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RTCPeerConnectionFactory mediaStreamWithStreamId:]: unrecognized selector sent to instance 0x170033160' *** First throw call stack: (0x19124afd8 0x18fcac538 0x191251ef4 0x19124ef4c 0x19114ad2c 0x100044308 0x100044028 0x100040d8c 0x102129a50 0x102129a10 0x10212eb78 0x1911f90c0 0x1911f6cdc 0x191126d94 0x192b90074 0x1973df130 0x10005bccc 0x19013559c) libc++abi.dylib: terminating with uncaught exception of type NSException

alexpell00 avatar Jul 09 '17 08:07 alexpell00

Try the latest release. Not sure what can be a problem here.

AlexKMDev avatar Jul 20 '17 05:07 AlexKMDev