Giter Site home page Giter Site logo

opentok / accelerator-core-android Goto Github PK

View Code? Open in Web Editor NEW
8.0 27.0 11.0 1.23 MB

An easy way to integrate OpenTok SDK to any Android applications

Home Page: https://tokbox.com

License: Apache License 2.0

Java 96.88% Shell 0.32% Kotlin 2.80%
webrtc opentok android audio-video rtc screen-capture

accelerator-core-android's People

Contributors

albertoacn avatar devwithzachary avatar ggoldens avatar igorwojda avatar jaoo avatar marinaserranomontes avatar mheap avatar michaeljolley avatar panoramicrum avatar raulkg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

accelerator-core-android's Issues

Failed to resolve: com.opentok.android:opentok-android-sdk:2.12.0

New issue checklist

General information

  • Library version(s):
  • iOS/Android/Browser version(s):
  • Devices/Simulators/Machine affected:
  • Reproducible in the demo project? (Yes/No):
  • Related issues:

Bug report

Expected behavior

Compile project

Actual behavior

Failed to resolve project

Steps to reproduce

add opentok lib to project as suggested and try to compile

Crash log? Screenshots? Videos? Sample project?

...

Question or Feature Request

...

Multiple subscriber entering same time crash

New issue checklist

General information

  • Library version(s): 1.0.26
  • iOS/Android/Browser version(s): 3 devices: All Android 8
  • Devices/Simulators/Machine affected: Samsung A5, Huawei P9, Asus Z012D
  • Reproducible in the demo project? (Yes/No): Yes
  • Related issues:

Bug report

Expected behavior

Minimum 3 attendee can chat together

Actual behavior

When 2 subscribers entering same session, publisher closes session

Steps to reproduce

Open a session from publisher and attend with min 2 subscribers at the same time

Crash log? Screenshots? Videos? Sample project?

... No crash log, just Session.SessionListener calls onDisconnected(SELF, 0,
mSessionConnection.getConnectionId(),
mSessionConnection.getData());

Question or Feature Request

...

Android OTWrapper class constructor crahses

New issue checklist

General information

  • Library version(s): 1.0.11
  • iOS/Android/Browser version(s): Android 4.4
  • Devices/Simulators/Machine affected: Simulator
  • Reproducible in the demo project? (Yes/No): Yes
  • Related issues: None

Bug report

Expected behavior

OTWrapper constructor must create an instance.

Actual behavior

In constructor, it goes to initAnalytics function and in this function;
String source = mContext.getPackageName();
while running this line program crashes because mContext is null.

Steps to reproduce

Just create an instance of OTWrapper class.

Crash log? Screenshots? Videos? Sample project?

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference
at com.tokbox.android.otsdkwrapper.wrapper.OTWrapper.initAnalytics(OTWrapper.java:1034)
at com.tokbox.android.otsdkwrapper.wrapper.OTWrapper.(OTWrapper.java:117)

Setting Proguard issue with library

New issue checklist

General information

  • Library version(s):1.0.21
  • iOS/Android/Browser version(s):Android
  • Devices/Simulators/Machine affected:Devices
  • Reproducible in the demo project? (Yes/No): Yes
  • Related issues:

Bug report

Expected behavior

The app should run with proguard rules

Actual behavior

App getting crash when the Proguard is enable with following code

-keep class com.opentok.** { ; }
-dontwarn com.opentok.
*
-dontwarn org.codehaus.jackson.map.ext.**

GRADLE file

    implementation 'org.codehaus.jackson:jackson-mapper-asl:1.9.13'
    implementation 'com.opentok.android:opentok-accelerator-core:1.0.21'
    implementation 'com.opentok.android:opentok-accelerator-annotation:1.0.1'

Steps to reproduce

Enable ProGuard and run the app

Crash log? Screenshots? Videos? Sample project?

java.lang.NoSuchFieldError: No static field PUBLIC_ONLY of type Lorg/codehaus/jackson/a/d$a; in class Lorg/codehaus/jackson/a/d$a; or its superclasses (declaration of 'org.codehaus.jackson.a.d$a' appears in /data/app/com.example.app-0UQOjKsC23lUqgHZvfvZsA==/base.apk!classes2.dex)
at java.lang.Class.getDeclaredAnnotation(Native Method)
at java.lang.Class.getAnnotation(Class.java:2481)
at org.codehaus.jackson.map.d.s$a.(VisibilityChecker.java:178)
at org.codehaus.jackson.map.d.s$a.a(VisibilityChecker.java:186)
at org.codehaus.jackson.map.w.(ObjectMapper.java:196)
at com.tokbox.android.a.a.(OTKAnalytics.java:28)
at com.tokbox.android.otsdkwrapper.d.b.p(OTWrapper.java:1040)
at com.tokbox.android.otsdkwrapper.d.b.(OTWrapper.java:123)

Question or Feature Request

...

Crash of app when not sending the data in TYPE field of open tok playground

General information

  • Library version(s):1.0.21
  • iOS/Android/Browser version(s): ANDROID
  • Devices/Simulators/Machine affected: DEVICES
  • Reproducible in the demo project? (Yes/No): Yes

Bug report

Expected behavior

The app should not get kill from any type of issue that's happening from the server.

Actual behavior

Crash of app when not sending the data in TYPE field of open tok playground

Steps to reproduce

Step 1 . Connect a session from android app using accelerator-core-android library
Step 2 . On TokBox playground server connect the session .
Step 3 . Send The Single message from the dashboard without adding any data in TYPE field
Step 4 . Check the app that was running ,the app has been crashed .

Crash log

2019-01-29 11:01:21.045 23001-23001/com.example.app E/UncaughtException: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
at java.util.Hashtable.get(Hashtable.java:365)
at com.tokbox.android.otsdkwrapper.wrapper.OTAcceleratorSession.dispatchSignal(OTAcceleratorSession.java:223)
at com.tokbox.android.otsdkwrapper.wrapper.OTAcceleratorSession.access$200(OTAcceleratorSession.java:25)
at com.tokbox.android.otsdkwrapper.wrapper.OTAcceleratorSession$4.onSignalReceived(OTAcceleratorSession.java:264)
at com.opentok.android.Session.onSignalReceived(Session.java:1790)
at com.opentok.android.Session$11.run(Session.java:1771)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6626)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)

Loud noise starts coming when new remote joined

New issue checklist

General information

  • Library version(s):
  • iOS/Android/Browser version(s):
  • Devices/Simulators/Machine affected:
  • Reproducible in the demo project? (Yes/No):
  • Related issues:

Bug report

Expected behavior

...

Actual behavior

...

Steps to reproduce

...

Crash log? Screenshots? Videos? Sample project?

...

Question or Feature Request

...

Error:Could not find any matches for com.opentok.android:opentok-accelerator-core:1.0.+ as no versions of com.opentok.android:opentok-accelerator-core are available.

New issue checklist

General information

  • Library version(s):
  • iOS/Android/Browser version(s):
  • Devices/Simulators/Machine affected:
  • Reproducible in the demo project? (Yes/No):
  • Related issues:

Bug report

Expected behavior

...

Actual behavior

...

Steps to reproduce

...

Crash log? Screenshots? Videos? Sample project?

...

Question or Feature Request

...

Update SDK version

New issue checklist

General information

  • Library version(s): latest
  • iOS/Android/Browser version(s): latest
  • Devices/Simulators/Machine affected: all new google play releases
  • Reproducible in the demo project? (Yes/No): does not matter
  • Related issues:

Bug report

Please update ext.sdkVersion to more recent one (2.15 or 2.16). Because otherwise we will not be able to publish a release on play store due to new 64bit requirement.

Failed to resolve

New issue checklist

General information

  • Library version(s): 1.0.+
  • iOS/Android/Browser version(s): Android target sdk 27
  • Devices/Simulators/Machine affected: All devices
  • Reproducible in the demo project? (Yes/No): Yes
  • Related issues:

Bug report

When I compile my project I'm getting this error:
Error:(28, 20) Failed to resolve: com.opentok.android:opentok-accelerator-core:1.0.+

I get this error with logging library too

Expected behavior

... To be compiled

Actual behavior

... Giving error

Steps to reproduce

... Just try the sync gradle file

Crash log? Screenshots? Videos? Sample project?

...

Question or Feature Request

...

Decoder factory error

New issue checklist

General information

  • Library version(s): 1.0.20
  • iOS/Android/Browser version(s): 7.0
  • Devices/Simulators/Machine affected: Device ( Samsung Tab A (2016) )
  • Reproducible in the demo project? (Yes/No): Yes (But very rare)
  • Related issues: No issues related

Bug report

After a while from video chat started between 2 devices (One tablet, One real device) application crashes.

Expected behavior

Continious video chat

Actual behavior

App crashes after a while (Happened after ~10 secs, ~1 mins, ~3 mins)

Steps to reproduce

Starting video chat and waiting

Crash log? Screenshots? Videos? Sample project?

Logcat logs:

05-29 12:13:20.172 20068-4235/com.xxxx E/rtc: #
# Fatal error in /home/tokbox/jenkins/workspace/task-release-otkit-android/project/android/opentok-android-sdk-webrtc/src/main/jni/wrapper/decoder_factory.cc, line 855
# last system error: 2
# Check failed: 0 == stride (0 vs. 1)
#
#

05-29 12:13:20.173 20068-4235/com.xxxx A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 4235 (MediaCodecVideo)
[ 05-29 12:13:20.175 2338: 2338 W/ ]
debuggerd: handling request: pid=20068 uid=10149 gid=10149 tid=4235

Question or Feature Request

...

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.