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.

Thanks.

2 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

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

User  
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 'com.google.android.libraries.cast.companionlibrary.cast.VideoCastManager' 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 com.google.android.libraries.cast.companionlibrary.cast.VideoCastManager.onRemoteMediaPlayerStatusUpdated(VideoCastManager.java:1505)
at com.google.android.libraries.cast.companionlibrary.cast.VideoCastManager.access$200(VideoCastManager.java:134)
at com.google.android.libraries.cast.companionlibrary.cast.VideoCastManager$9.onStatusUpdated(VideoCastManager.java:1263)
at com.google.android.gms.cast.RemoteMediaPlayer.onStatusUpdated(Unknown Source)
at com.google.android.gms.cast.RemoteMediaPlayer.zza(Unknown Source)
at com.google.android.gms.cast.RemoteMediaPlayer$1.onStatusUpdated(Unknown Source)
at com.google.android.gms.cast.internal.zzm.zza(Unknown Source)
at com.google.android.gms.cast.internal.zzm.zzcf(Unknown Source)
at com.google.android.gms.cast.RemoteMediaPlayer.onMessageReceived(Unknown Source)
at com.google.android.gms.cast.internal.zze$zzb$4.run(Unknown Source)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
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.