Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

new pjsip #10

Open
wants to merge 2 commits into
base: relatel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ios/RTCPjSip/PjSipModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,11 @@ + (BOOL)requiresMainQueueSetup{

if (status != PJ_SUCCESS) {
NSLog(@"Failed to active audio session");

reject(status);
} else {
resolve(@TRUE);
}

resolve(@TRUE);
}

RCT_EXPORT_METHOD(deactivateAudioSession:(RCTPromiseResolveBlock) resolve rejecter:(RCTPromiseRejectBlock) reject) {
Expand Down
4 changes: 2 additions & 2 deletions libs.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
set -e

VERSION="v2.8.0"
URL="https://github.com/datso/react-native-pjsip-builder/releases/download/${VERSION}/release.tar.gz"
VERSION="v3.5"
URL="https://cdn.rela.tel/www/public/phon/pjsip-3.5.tar.gz"
LOCK=".libs.lock"
DEST=".libs.tar.gz"
DOWNLOAD=true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@
"type": "git",
"url": "git+https://github.com/datso/react-native-pjsip.git"
},
"version": "2.8.0"
"version": "3.5.0"
}