Comments (11)
Here are my steps to integrate APPRTC into my project manually:
- Remove:
pod 'APPRTC'
and add them:pod 'libjingle_peerconnection'
pod 'SocketRocket'
in Podfile - Copy from Lib/ folder from APPRTC project into my project
- Add these frameworks and libraries into project: "QuartzCore", "OpenGLES", "CoreGraphics", "CoreVideo", "CoreMedia", "CoreAudio", "AVFoundation", "AudioToolbox", "GLKit", "CFNetwork", "Security", "sqlite3", "stdc++.6", "icucore", "c++"
- Add related headers in my case
#import <libjingle_peerconnection/RTCEAGLVideoView.h>
#import "ARDAppClient.h"
#import "RTCPeerConnectionFactory.h"
into Bridging-Header.h - Build!
from apprtc-ios.
I haven't tried this this project yet, but if you are targeting iOS 8+ and have updated CocoaPods, you don't need bridging header. Just type use_frameworks! at the top of your Podfile. It will create a framework from this library and you can then import it in your swift file, same as UIKit is imported
from apprtc-ios.
I am using pod 0.39.0 and encountering this issue when pod install
The 'Pods-XXX-iOS' target has transitive dependencies that include static binaries: (/Users/User/XXX-ios/Pods/libjingle_peerconnection/libjingle_peerconnection/libWebRTC.a)
from apprtc-ios.
Yes, the project should work inside your Swift Project. However, because of the static library dependency you'll need to manually integrate into your project or create a framework per @Xioshock
The transitive dependency error seems to e an issue with the recent version of cocoa pods. We'll need to investigate this further to find a resolution.
from apprtc-ios.
Awesome. Thanks for posting the instructions! Would be great if someone could help investigate how to fix the transitive dependency error in cocoa pods so the integration would be easier.
from apprtc-ios.
Hi! yes I also did the same like @SeanChenU but I really like how to add appRTC pod or how to create ones in order to has AppRTC client as a Pod and be usefull using swift project. Can anyone did it before?
I think I am closer (or not) but I get this error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_RTCSessionDescription", referenced from:
objc-class-ref in ARDSignalingMessage.o
objc-class-ref in RTCSessionDescription+JSON.o
l_OBJC_$_CATEGORY_RTCSessionDescription_$_JSON in RTCSessionDescription+JSON.o
"_OBJC_CLASS_$_RTCICECandidate", referenced from:
objc-class-ref in ARDSignalingMessage.o
objc-class-ref in RTCICECandidate+JSON.o
l_OBJC_$_CATEGORY_RTCICECandidate_$_JSON in RTCICECandidate+JSON.o
"_OBJC_CLASS_$_RTCPair", referenced from:
objc-class-ref in ARDAppClient.o
objc-class-ref in RTCMediaConstraints+JSON.o
"_OBJC_CLASS_$_RTCMediaConstraints", referenced from:
objc-class-ref in ARDAppClient.o
objc-class-ref in RTCMediaConstraints+JSON.o
l_OBJC_$_CATEGORY_RTCMediaConstraints_$_JSON in RTCMediaConstraints+JSON.o
"_OBJC_CLASS_$_RTCVideoCapturer", referenced from:
objc-class-ref in ARDAppClient.o
"_OBJC_CLASS_$_RTCICEServer", referenced from:
objc-class-ref in ARDAppClient.o
objc-class-ref in RTCICEServer+JSON.o
l_OBJC_$_CATEGORY_RTCICEServer_$_JSON in RTCICEServer+JSON.o
"_OBJC_CLASS_$_RTCPeerConnectionFactory", referenced from:
objc-class-ref in ARDAppClient.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from apprtc-ios.
what is the meanning of 2nd step @SeanChenU
from apprtc-ios.
@saiteja7 the meaning of 2nd step in @SeanChenU comment is that we need to copy in our project the classes that contains AppRTC/Lib folder:
ARDAppClient.(h/m)
ARDMessageResponse.(h/m)
ARDRegisterResponse.(h/m)
ARDSignalingMessage.(h/m)
ARDUtilities.(h/m)
ARDWebSocketChannel.(h/m)
RTCICECandidate+JSON.(h/m)
RTCICEServer+JSON.(h/m)
RTCMediaConstraints.(h/m)
RTCSessionDescription.(h/m)
from apprtc-ios.
okay thanq
On 18 August 2016 at 15:00, cmorell [email protected] wrote:
@saiteja7 https://github.com/saiteja7 the meaning of 2nd step in
@SeanChenU https://github.com/SeanChenU comment is that we need to copy
in our project the classes that contains AppRTC/Lib folder:ARDAppClient.(h/m)
ARDMessageResponse.(h/m)
ARDRegisterResponse.(h/m)
ARDSignalingMessage.(h/m)
ARDUtilities.(h/m)
ARDWebSocketChannel.(h/m)
RTCICECandidate+JSON.(h/m)
RTCICEServer+JSON.(h/m)
RTCMediaConstraints.(h/m)
RTCSessionDescription.(h/m)—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#39 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATr_kL_hnRPp_GZXESw5ZGsd_BHfb4jiks5qhCYbgaJpZM4Iv2iT
.
from apprtc-ios.
Hi,
@SeanChenU i follow your solution but i can not call renderFrame,
Ex: [self.localView renderFrame:nil]; // error class has no men=mber 'renderFrame'
any solution?
from apprtc-ios.
I have the same problem can i have more informations for how to solve this issues
WorkSpace/Test2/platforms/ios/Test2/Plugins/com.onsip.cordova/libwebrtc_base.a
Undefined symbols for architecture arm64:
"OBJC_CLASS$_RTCEAGLVideoView", referenced from:
objc-class-ref in PhoneRTCPlugin.o
"OBJC_CLASS$_RTCICEServer", referenced from:
objc-class-ref in PhoneRTCPlugin.o
"OBJC_CLASS$_RTCICECandidate", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCMediaConstraints", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCPair", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCVideoCapturer", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCSessionDescription", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCPeerConnectionFactory", referenced from:
objc-class-ref in PhoneRTCDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from apprtc-ios.
Related Issues (20)
- IOS Native App for WebRTC
- Error posting data: The network connection was lost.
- Xcode 10 issue with -lstdc++.6 HOT 3
- Call freezed then ended automatically
- [__NSSingleEntryDictionaryI length]: unrecognized selector sent to instance 0x281de6360 ??
- Voice is not exchanging between peers with CallKit
- Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) When add stream to peerconnection
- Unknown selected data source for Port Speaker (type: Speaker)
- Failed to set remote video description send parameters HOT 1
- project successfully build but doesn't run HOT 3
- iceRestart option in createOffer
- I want to remove Echo and Noise, but didn't success
- failed to create session description webrtc in ios
- Local video doesn't be rendered. It doesn't be sent to remote machine on IOS 13 HOT 23
- How to capture a local vidoe stream apply filter and and share with peer
- How to use this project on the Swift? HOT 4
- local and remote video not call delegate function HOT 1
- how can i run this code HOT 4
- Can I use this to chat with ordinary pictures and texts at the same time
- one-to-one videos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apprtc-ios.