Issue in ios webrtc v114.xx

38 views
Skip to first unread message

Arpit Shrivastava

unread,
Jul 10, 2023, 1:44:01 AM7/10/23
to discuss-webrtc
Hi All,

We are setting the local description as below:

RTCSessionDescription *localSdp = [[RTCSessionDescription alloc] initWithType:sdp.type sdp:localSdpStr];


RTCPeerConnection *strongPc = weakPc;

                 [strongPc setLocalDescription:localSdp

                              completionHandler:^(NSError *error){

                                if(error) {

                                  WLog(@"Failed to set SDP: %@", error.description);

                                } else{

                                  DLog(@"arpit - Inside if Trickle Mode 263");

                                   if (_isTrickling) {

                                    [self sendSdpFromLocalDescription];

                                  }

                                }

                              }];


Now while we are accessing the local description, code is getting stuck. 

_peerConnection.localDescription

We are using webrtc version 114.xx

Someone plz help.

Reply all
Reply to author
Forward
0 new messages