apprtc-android | Android AppRTC demo setup within an Android Studio project | Android library
kandi X-RAY | apprtc-android Summary
kandi X-RAY | apprtc-android Summary
This Android project is a mirror of the Android AppRTC demo found in the [webrtc project] However, this Android application will be maintained as an Android Studio project. Note that the sources in this project are not in any way ours. We are just mirroring what is already available to developers in an Android project form so developers can work with a functioning AppRTC prototype without cloning and building WebRTC.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the screen
- Show room URL
- Connect to a room
- Connects to an AppRTC room
- Disconnect and close the connection
- Disconnects from the App Engine
- Disconnects from GAE
- Disconnect from remote resources
- Creates a new client connection
- Get the active connection stats from the report
- Finds a video capturer
- Updates the head - up report
- Sends a JSON message
- Requests a drain of send queue
- Drain the send queue if we are connected
- Called when an exception occurs
- Gets the stack trace of the given exception
- Retrieves the message of the original exception
- Reset window size
- Update the display size
- Resumes the video source
- Drains the contents of an InputStream into a String
- Put a map in a JSON object
- Stop the video source
- Creates a list of ICE servers from a WebRTCPeer configuration
- Given a SDP description extract the SDP codec and return it
apprtc-android Key Features
apprtc-android Examples and Code Snippets
Community Discussions
Trending Discussions on apprtc-android
QUESTION
I am working on video call app using Apprtc.Follow below mention libraries.
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
- https://github.com/Koredotcom/android-kore-sdk/tree/master/BotsSDK/korebotsdklib/src/main/java/kore/botssdk/autobahn
- 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:04I 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
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install apprtc-android
You can use apprtc-android 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 apprtc-android 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
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page