IOS protobuf library issue

mybirer

New Member
Hi,

I had developed IOS app with WCS IOS SDK. It was working well. But now it gives an error. I googled a little bit but I can't find any related solution.

Here is console output:
Code:
2018-09-15 21:01:15.359855+0300 MOBILE APP[53531:1678538] peerConnectionShouldNegotiate
2018-09-15 21:01:15.360226+0300 MOBILE APP[53531:1678473] Media connection create offer
2018-09-15 21:01:15.374229+0300 MOBILE APP[53531:1678538] PeerConnectionState change 1
2018-09-15 21:01:15.387678+0300 MOBILE APP[53531:1678538] Created sdp v=0
o=- 2333123074574390211 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS WCSSDK2
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:awxs
a=ice-pwd:vCCadguTVFZl+RRM1O8yfUKc
a=ice-options:renomination
a=fingerprint:sha-256 04:FD:9C:0A:16:29:3E:78:DE:7C:A6:80:EE:6E:8E:77:AB:02:02:07:41:10:14:5F:BD:94:D2:4D:57:42:5C:DF
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendonly
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:565868415 cname:yLmmxLIp3+va+ft6
a=ssrc:565868415 msid:WCSSDK2 WCSSDK2-a
a=ssrc:565868415 mslabel:WCSSDK2
a=ssrc:565868415 label:WCSSDK2-a
m=video 9 UDP/TLS/RTP/SAVPF 96 98 100 101 97 99 127
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:awxs
a=ice-pwd:vCCadguTVFZl+RRM1O8yfUKc
a=ice-options:renomination
a=fingerprint:sha-256 04:FD:9C:0A:16:29:3E:78:DE:7C:A6:80:EE:6E:8E:77:AB:02:02:07:41:10:14:5F:BD:94:D2:4D:57:42:5C:DF
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:4 urn:3gpp:video-orientation
a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=sendonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtpmap:98 red/90000
a=rtpmap:100 ulpfec/90000
a=rtpmap:101 H264/90000
a=rtcp-fb:101 ccm fir
a=rtcp-fb:101 nack
a=rtcp-fb:101 nack pli
a=rtcp-fb:101 goog-remb
a=rtcp-fb:101 transport-cc
a=fmtp:101 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:127 rtx/90000
a=fmtp:127 apt=101
a=ssrc-group:FID 3143888879 3138912452
a=ssrc:3143888879 cname:yLmmxLIp3+va+ft6
a=ssrc:3143888879 msid:WCSSDK2 WCSSDK2-v
a=ssrc:3143888879 mslabel:WCSSDK2
a=ssrc:3143888879 label:WCSSDK2-v
a=ssrc:3138912452 cname:yLmmxLIp3+va+ft6
a=ssrc:3138912452 msid:WCSSDK2 WCSSDK2-v
a=ssrc:3138912452 mslabel:WCSSDK2
a=ssrc:3138912452 label:WCSSDK2-v
2018-09-15 21:01:15.432637+0300 MOBILE APP[53531:1678538] didChangeIceGatheringState change 1
2018-09-15 21:01:15.432985+0300 MOBILE APP[53531:1678538] New ice candidate
2018-09-15 21:01:15.433447+0300 MOBILE APP[53531:1678538] New ice candidate
2018-09-15 21:01:15.490763+0300 MOBILE APP[53531:1678538] New ice candidate
2018-09-15 21:01:15.491209+0300 MOBILE APP[53531:1678538] New ice candidate
2018-09-15 21:01:15.544519+0300 MOBILE APP[53531:1678538] didChangeIceGatheringState change 2
2018-09-15 21:01:15.784597+0300 MOBILE APP[53531:1678538] PeerConnectionState change 0
2018-09-15 21:01:15.798403+0300 MOBILE APP[53531:1678538] didChangeIceConnectionState 1
2018-09-15 21:01:16.050555+0300 MOBILE APP[53531:1678908] Update stream state, media session id is 6DB38C2A-0D56-4B02-855A-61DB20E065CC
2018-09-15 21:01:16.051756+0300 MOBILE APP[53531:1678538] didChangeIceConnectionState 6
2018-09-15 21:01:16.051954+0300 MOBILE APP[53531:1678538] PeerConnectionState change 5
[libprotobuf FATAL google/protobuf/stubs/common.cc:78] This program was compiled against version 3.0.0 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.1.0).  Contact the program author for an update.  If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library.  (Version verification failed in "gen/webrtc/logging/rtc_event_log/rtc_event_log.pb.cc".)
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: This program was compiled against version 3.0.0 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.1.0).  Contact the program author for an update.  If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library.  (Version verification failed in "gen/webrtc/logging/rtc_event_log/rtc_event_log.pb.cc".)
As I understand, some libraries outdated.
How can I fix this problem?

Thanks.
 

Max

Administrator
Staff member
Hello

What is your Mac OS version?
Xcode version?
iOS version where you test the application?
Google Protobuf version on Mac OS?
Google Protobuf version on iOS?

It looks like a conflict of libraries.
WCS iOS SDK is compiled with Google Protobuf 3.0.0
However your runtime uses Google Protobuf 3.1.0 - major update of the library.
So it seems we will have to recompile iOS SDK with protobuf 3.1.0 to get this working.
We have raised internal ticket WCS-1482
We will inform once we have any news on this.
 
Top