AlexKMDev / WebRTC

Unofficial builds of Google WebRTC iOS Framework
https://webrtc.org/native-code/ios/
Other
291 stars 76 forks source link

[RTCPeerConnectionFactory mediaStreamWithStreamId:] #32

Open alexpell00 opened 7 years ago

alexpell00 commented 7 years ago

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

AlexKMDev commented 7 years ago

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