AppRTCDemo | Android AppRTC Demo of WebRTC project | SDK library

 by   njovy Java Version: Current License: No License

kandi X-RAY | AppRTCDemo Summary

kandi X-RAY | AppRTCDemo Summary

AppRTCDemo is a Java library typically used in Utilities, SDK applications. AppRTCDemo has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

Android Studio project for AppRTCDemo of WebRTC project. This project now uses the official prebuilt library at jCenter.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              AppRTCDemo has a low active ecosystem.
              It has 483 star(s) with 249 fork(s). There are 56 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 61 open issues and 21 have been closed. On average issues are closed in 6 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of AppRTCDemo is current.

            kandi-Quality Quality

              AppRTCDemo has 0 bugs and 0 code smells.

            kandi-Security Security

              AppRTCDemo has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              AppRTCDemo code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              AppRTCDemo does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              AppRTCDemo releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              AppRTCDemo saves you 3115 person hours of effort in developing the same functionality from scratch.
              It has 6706 lines of code, 370 functions and 35 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed AppRTCDemo and discovered the below as its top functions. This is intended to give you an instant insight into AppRTCDemo implemented functionality, and help decide if they suit your requirements.
            • Initializes the window
            • Toggles the visibility of the call control fragment
            • Creates and returns a Java audio device that can be used to open the device
            • Create peer connection factory
            • Close internal connection
            • Stops the transaction log
            • Stop the stream
            • Initializes the instance
            • Requests the missing permissions
            • Called when a sensor has changed
            • Sends a local ICE candidate
            • Called when a progress bar has been changed
            • Changes the default audio device
            • Initializes the view
            • Create the view
            • Reset the summary
            • Sends remote ICE candidates to the local participant
            • Called when an uncaught exception occurs
            • Resume the room
            • From interface RemoteCandidate
            • This method is called when the SCO channel is connected
            • Initialize the preferences
            • Sends a message
            • Called when a WebSocket message is received
            • Create the fragment view
            • Send ICE candidate to other participant
            Get all kandi verified functions for this library.

            AppRTCDemo Key Features

            No Key Features are available at this moment for AppRTCDemo.

            AppRTCDemo Examples and Code Snippets

            No Code Snippets are available at this moment for AppRTCDemo.

            Community Discussions

            QUESTION

            WebSocket - Status Code 403 and status message - Forbidden
            Asked 2018-Aug-21 at 10:04

            I am working on video call app using Apprtc.Follow below mention libraries.

            1. https://github.com/njovy/AppRTCDemo
            2. https://github.com/Piasy/AppRTC-Android

            When I change url to my custom server instead of apprtc server then video call is disconnected after 1 minute. I have lost connection with server.

            To avoid the connection lost with server, we need to ping server in regular interval approx 30 sec.

            But above mention AppRTC project are using jar file(autobanh.jar) to websocket connection, but in library sendPing mentod is private so not accessible.

            Question 1 - There is nay way to ping websocket server.

            Try after replace websocet library I had changed websocket library with below mention libraries

            1. https://github.com/Koredotcom/android-kore-sdk/tree/master/BotsSDK/korebotsdklib/src/main/java/kore/botssdk/autobahn
            2. https://github.com/martindale/soundtrack.io-android/tree/master/src/de/tavendo/autobahn

            After recplacing websocket library, Now I am able to access sendPing method. But still I have connection lost after 60 seconds during video call.

            Ping Method-

            ...

            ANSWER

            Answered 2018-Aug-21 at 10:04

            I had changed the websocket library to https://github.com/crossbario/autobahn-java

            This library has functionality of auto ping to server on regular time interval. After adding it, i have modified only one class of ApprtcDemo- WebSocketChannelClient

            Source https://stackoverflow.com/questions/51907298

            QUESTION

            Custom byteArray data to WebRTC videoTrack
            Asked 2017-Jul-27 at 11:12

            I need to use WebRTC for android to send specific cropped(face) video to the videoChannel. I was able manipulate Camera1Session class of WebRTC to get the face cropped. Right now I am setting it to an ImageView. listenForBytebufferFrames() of Camera1Session.java

            ...

            ANSWER

            Answered 2017-Jul-25 at 08:56

            WebRTC in particular and video streaming in general presumes that the video has fixed dimensions. If you want to crop the detected face, your options are either to have pad the cropped image with e.g. black pixels (WebRTC does not use transparency), and crop the video on the receiver side, or, if you don't have control over the receiver, resize the cropped region to fill the expected width * height frame (you should also keep the expected aspect ratio).

            Note that JPEG compress/decompress that you use to crop the original is far from efficient. Some other options can be found in Image crop and resize in Android.

            Source https://stackoverflow.com/questions/45155217

            QUESTION

            Apprtc With PushNotificaiton
            Asked 2017-May-04 at 12:01

            Consider I logged in as "Alice" In List View I'm showing list of users,If i click on any user I'm initiating video call,user which i selected(eg I selected "BOB") has to get Push notification,Once BOB Clicks on that notification Call has to connect between both.

            My Question is : From which Class I have to write code for push notification

            ** I'm using this github code https://github.com/njovy/AppRTCDemo/

            ...

            ANSWER

            Answered 2017-May-04 at 12:01

            I think there is thread related issue. You should connect the aprtc video call when you are getting response of push notification api or call api to send the push is in background thread.

            Source https://stackoverflow.com/questions/43679186

            QUESTION

            Is apprtc free for use?
            Asked 2017-Mar-22 at 19:21

            i am working on android application that use webrtc and i am using appRtcDemo on github AppRTCDemo

            but this project use appr.tc server and i think it belong to google. so my question is it free to use or not and if it is not free is there a way to make my own server and how ?

            ...

            ANSWER

            Answered 2017-Mar-22 at 19:21

            appr.tc is hosted by google on google cloud, just for the WebRTC sample demo.

            AppRTC demo server code is also open source, so you can setup your own.

            Source https://stackoverflow.com/questions/42910527

            QUESTION

            WebRTC - Xamarin. Trying to set local description fails
            Asked 2017-Feb-16 at 00:15

            I have compiled the WebRTC source from the google repo and have used the jar in a Android Binding Library project along with the native libraries (.so files) in respective architecture folders. The library compiles without errors.

            I have the main Android App and have referenced the binding library's output (.dll). The app also compiles without errors.

            1. I am able to add the audio track and the video track and the camera comes up.
            2. This is my ISDPObserver implementation
            ...

            ANSWER

            Answered 2017-Feb-15 at 10:15

            OK. I got it worked out.

            Two things:

            1. The session description was not formatted properly and the TURN server will reject any improperly formatted information.

            2. All communications to the TURN server are supposed to be in a single thread and not parallel threads. The method NewSingleThreadScheduledExecutor() of the IScheduledExecutorService interface does exactly that. An object of the Interface instantiated in the constructor should be reused to execute IRunnable handlers. This will ensure the app is thread safe and events are handled as they get triggered.

            Source https://stackoverflow.com/questions/42201891

            QUESTION

            Add dial/receive signalling mechanism for AppRTCDemo at client side
            Asked 2017-Jan-16 at 06:43

            Hi I am using AppRTCDemo and its working on their server. How ever the current mechanism is for exchanging chat-rooms name and entering the same room connects the peers.

            But I want to dial a call from one device to receive a call from other device and then peers should enter a room for video session ,

            I have searched a lot , I have come up with for that I need signalling-server which I don't have and don't want to put hands on it ,

            Now in this situation how can the other device know that device one is dialing and sharing particular room name to accept and enter the same room for video call at client side in Android .

            https://github.com/njovy/AppRTCDemo

            ...

            ANSWER

            Answered 2017-Jan-16 at 06:40

            There are two android apk available for WebRTC, appRtcDemo and webRtcDemo. appRtcDemo apk can be used for android device to browser connectivity. You need to provide room id to connect to one room. If you are the room initiator then you have to enter -1. If you want to connect two android device then you have to compile and install webRtcDemo apk. This apk interface provide place to enter ip address of another device and vice versa then both device will be connected.

            Please go through -> http://www.webrtc.org/reference/getting-started

            For more information. Both the apks i've compiled and installed and checked how it works.

            I was able to make calls successfully between two android device using webrtcdemo. But I tested using WLAN of my office network. I did not use it further because I was using apprtcdemo for app reference. My suggestion is when you enter remote ip in webrtcdemo,just check if loop-back is unchecked. I guess for you loop-back is enabled, so you are receiving your own video packet, though you have entered remote ip. Make sure loop-back is disabled while making call.

            Source https://stackoverflow.com/questions/41664864

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install AppRTCDemo

            You can download it from GitHub.
            You can use AppRTCDemo like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the AppRTCDemo component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/njovy/AppRTCDemo.git

          • CLI

            gh repo clone njovy/AppRTCDemo

          • sshUrl

            git@github.com:njovy/AppRTCDemo.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular SDK Libraries

            WeiXinMPSDK

            by JeffreySu

            operator-sdk

            by operator-framework

            mobile

            by golang

            Try Top Libraries by njovy

            vhd-converter

            by njovyJava

            android_common

            by njovyJava