Code Monkey home page Code Monkey logo

apprtc-swift's Introduction

Deprecated - Code base no longer will be updated. Thanks for your support

Apprtc-swift

Apprtc code written in Swift 2 with Video Mute, Audio Mute, Rotation support. Refer to my blog for more details

Instruction

  1. Either run app in 2 devices or run app in one device and open http://apprtc.appspot.com/
  2. Enter a common room name and join the room
  3. Webrtc connection will be established

Server Details

I get this question a lot. I am connecting with Google's apprtc server. ARDAppClient module has signaling details. A simple custom signaling server is in works to facilitate understanding of webrtc in iOS and Android. Watch my blog for updates on the same.

Screenshots

Login Screen

![Alt text](/../screenshot/screenshot/Login Screen.png?raw=true "Login Screen")

Video Screen

![Alt text](/../screenshot/screenshot/Video Screen.png?raw=true "Video Screen")

##To Do

  1. CallKit Integration

Contact Me

For clarifications or custom implementations or any other stuffs Contact Form

##To Say Hi Me

My blog

My consulting site

okchanges.com

apprtc-swift's People

Contributors

dhilip-payoda avatar mahabali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apprtc-swift's Issues

Alert room is full

I tried to use 2 iPhones to connect with each other. But one device always alert the error message "Room is full".

The size of WebRTC.framework

Hi,

I notice your WebRTC.framework size about 15 mb.
But I download the iOS webrtc source code and compile it by myself, the WebRTC.framework size is over 300 mb. It's very huge!

Can you tell me how did you build this small size WebRTC.framework?

Thank you so much.

Jason

toggle audio and video

so is toggleAudioMute() and toggleVideoMute() taken out of the webrtc lib now? how's audio and video now toggled?

Getting this error - Error parsing JSON: The data couldn’t be read because it isn’t in the correct format

Error parsing JSON: The data couldn’t be read because it isn’t in the correct format

Here is the full debug log -

2017-03-29 18:20:40.088614 Apprtc[335:28341] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-03-29 18:20:40.089572 Apprtc[335:28341] [MC] Reading from public effective user settings.
to string RTCVideoChatViewController
2017-03-29 18:20:48.018397 Apprtc[335:28341] Delegate was implemented
Client connecting.
2017-03-29 18:20:48.585433 Apprtc[335:28341] Error parsing JSON: The data couldn’t be read because it isn’t in the correct format.
2017-03-29 18:20:48.585683 Apprtc[335:28341] *** Assertion failure in -[RTCIceServer initWithURLStrings:username:credential:], ../../webrtc/sdk/objc/Framework/Classes/RTCIceServer.mm:31
2017-03-29 18:20:48.586286 Apprtc[335:28341] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: urlStrings.count'
*** First throw call stack:
(0x1909a11b8 0x18f3d855c 0x1909a108c 0x19145902c 0x1001f8d48 0x10006ab2c 0x10005d704 0x10006e774 0x19108043c 0x19148ffb0 0x1913d4aa8 0x1913c50a4 0x19149235c 0x100fdd218 0x100fe2280 0x19094e810 0x19094c3fc 0x19087a2b8 0x19232e198 0x1968c17fc 0x1968bc534 0x100082eac 0x18f85d5b8)
libc++abi.dylib: terminating with uncaught exception of type NSException

Disable the camera orientation and what's the webrtc source version of this App?

Dear all,

My app needs to disable the camera orientation during webrtc connection.
Not the device orientation.

I fixed the device orientation, but the screen content still change when I rotate the device.
I'm afraid this maybe need to modify the webrtc source code and rebuild the framework again.

How can I know I need to download what's version sourcecode?
I try to download and build two versions framework. But app crashes after I replace the webrtc framework.

Anyone try this and know this? Any help is welcome sincerely.

Thank you!

change TURN server

when I join to the room from iPad and from browser it doesn't connect and say "Waiting for someone to join this room"
can anyone help me

Versions of AppRTC and WebRTC?

Hello! I think there are some version conflicts with WebRTC and AppRTC with the current versions. Could I see the versions of each package?

Orientation on iPad

When the Video is started in Portrait mode on iPad the video feed (sent to the peer) is incorrectly set to landscape (meaning that it is the wrong way up).

Any idea how to fix this issue?

Xcode 11 IPA processing failed

I am trying to create build from X Code 11 but it fails every time. Please see image:

Screenshot 2020-01-24 at 16 45 47

It's working in X Code 10.3 so there could be X Code problem or may be framework architecture problem.

Please help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.