Cloudkibo / iOS

iOS Code
0 stars 0 forks source link

Learn from open source WebRTC Call projects on iOS #88

Closed sojharo closed 9 years ago

sojharo commented 9 years ago

We need to start from looking into how people have implemented WebRTC calls on iOS by looking into iOS projects.

Chances are we would find the open source samples of iOS webrtc call. However, if nothing satisfactory is found then we should also start looking into following URL:

http://www.webrtc.org/native-code/ios

You would need to read about how to integrate WebRTC library to existing iOS project. How the linkers work in iOS when we link library. I am opening a separate issue for this one.

part of WebRTC Call milestones:

https://github.com/Cloudkibo/iOS/milestones

sojharo commented 9 years ago

This article would also help in implementing webrtc call in iOS

https://tech.appear.in/2015/05/25/Getting-started-with-WebRTC-on-iOS/

Read this one before you read the one which is on upper comment.

sumairasaeed commented 9 years ago

ok thanks sojharo

On Fri, Oct 23, 2015 at 2:03 PM, Sojharo notifications@github.com wrote:

This article would also help in implementing webrtc call in iOS

https://tech.appear.in/2015/05/25/Getting-started-with-WebRTC-on-iOS/

Read this one before you read the one which is on upper comment.

— Reply to this email directly or view it on GitHub https://github.com/Cloudkibo/iOS/issues/88#issuecomment-150520556.

sumairasaeed commented 9 years ago

Explored and found that lot of work has been done on WebRTC on iOS. Here are some useful links:

https://bloggeek.me/webrtc-adoption-mobile-apps/ This research paper is not free but intro of this paper lists down many iphone applications which uses webRTC

I downloaded Talko on iphone. However, need another iphone user to test it fully. Here is the link of this app: http://www.talko.com/ and it can be downloaded from here: https://itunes.apple.com/us/app/talko-mobile-team-communication/id569298031?ls=1&mt=8 This app supports audio,video, conference call and chat.

There is another useful article: https://bloggeek.me/webrtc-fit-ios/ This article lists down iOS apps which uses webRTC. Also it lists down few webRTC-SDK for iOS. These can be very useful. I will explore them further.

This stackoverflow issue was also helpful: http://stackoverflow.com/questions/33121519/does-swift-support-webrtc

I found WebRTC sample iOS app which integrates Objective-C and Swift. This can be very useful. I tested this app between iphone and simulator. It successfully does audio sharing, video sharing and file transfer. Here is the link of this sample app: https://github.com/Temasys/SkylinkSDK-iOS-Sample

Above sample app uses this library http://skylink.io/ios/ . This is like a Swift wrapper for Objective C code of WebRTC. Will need time to understand it so we can integrate this in our application

sumairasaeed commented 9 years ago

Explored https://github.com/Temasys/SkylinkSDK-iOS-Sample this app code further. Looked into overall code structure and trying to understand its functions. It is a mix and match of Objective C and Swift. Will spend some more time on this.

jekram commented 9 years ago

Sumaira ASAK:

The most relavant is https://tech.appear.in/2015/05/25/Getting-started-with-WebRTC-on-iOS/ what was your learning?

Let's try to wrap-up learning and start coding

Jawaid

sumairasaeed commented 9 years ago

First step is to download webrtc library and import it in xcode. Next it to build Sample AppRTCDemo project. Struggling hard to import webRTC library for iOS in xcode. Following this article: http://www.webrtc.org/native-code/ios , it is taking very long to download and it hangs. Googled this, and found for some users it took more than 7 hours. It is still running

sumairasaeed commented 9 years ago

Found another wrapper for above mentioned application here: https://github.com/ISBX/apprtc-ios . Successfully built and tested sample app on iphone called “AppRTC”. It has only video sharing, looked into its code. Previously I was exploring sample apps and searching available WebRTC SDKs. Tomorrow will finally wrap it up after having a detailed reading of this article https://tech.appear.in/2015/05/25/Getting-started-with-WebRTC-on-iOS/ In sha Allah as recommended by you sir.

sumairasaeed commented 9 years ago

Completed deep reading of that article. Also, Started to modify sample app AppRTC. Successfully created bridging header. Learned to call Objective C functions of WerbRTC files into Swift. We can close this issue now.

jekram commented 9 years ago

Thanks