Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Issue with chrome cast

I am trying to use chrome cast on my app with jwplayer. The issue is when i select my cast and try to send the video to the chrome cast. my app force closes and the an error with the code 2100 is shown. i tried to google this but i could not find anything related to it. Can you please help me out with this. I'll be really thankful.


2 Community Answers


JW Player Support Agent  
0 rated :


Could you give me a little more background on this issue? You mentioned you are having a problem in an app. Is this app an iOS or Android app? Are you using the JW Player SDK?

Vineet Kamath

0 rated :

Hey George,

Yes we are using the JW Player Sdk. We are creating an Android App. Please find the below log.
This error comes when the chorme cast button is clicked on the action bar.

==================================== Log Starts here ====================================

03-17 12:30:57.189 10811-10811/com.graymatrix.did E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.graymatrix.did, PID: 10811
java.lang.NoSuchMethodError: No virtual method getMediaStatus()Lcom/google/android/gms/cast/MediaStatus; in class Lcom/google/android/libraries/cast/companionlibrary/cast/VideoCastManager; or its super classes (declaration of '' appears in /data/app/com.graymatrix.did-1/base.apk)
at com.longtailvideo.jwplayer.cast.a.onRemoteMediaPlayerStatusUpdated(SourceFile:19615)
at com.longtailvideo.jwplayer.cast.b.onRemoteMediaPlayerStatusUpdated(SourceFile:157)
at Source)
at Source)
at$1.onStatusUpdated(Unknown Source)
at Source)
at Source)
at Source)
at$zzb$ Source)
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)
03-17 12:30:58.261 10811-10891/com.graymatrix.did E/GAv4﹕ Successfully bound to service but never got onServiceConnected callback

==================================== Log ends Here ====================================

I Thank you in advance for any kind of help.

This question has received the maximum number of answers.