Skip to content

Commit

Permalink
tv-casting-app WoL: fixing VideoPlayer constructor signature
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadb-amazon committed Oct 9, 2023
1 parent 1161cba commit c5a9d76
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ CHIP_ERROR convertTargetVideoPlayerInfoToJVideoPlayer(TargetVideoPlayerInfo * ta
jclass jVideoPlayerClass;
ReturnErrorOnFailure(
chip::JniReferences::GetInstance().GetClassRef(env, "com/chip/casting/VideoPlayer", jVideoPlayerClass));
jmethodID jVideoPlayerConstructor = env->GetMethodID(
jVideoPlayerClass, "<init>",
"(JBLjava/lang/String;IIILjava/util/List;ILjava/util/List;Ljava/lang/String;Ljava/lang/String;IJLjava/lang/String;Z)V");
jmethodID jVideoPlayerConstructor = env->GetMethodID(jVideoPlayerClass, "<init>",
"(JBLjava/lang/String;IIILjava/util/List;ILjava/util/List;Ljava/lang/"
"String;Ljava/lang/String;IJLjava/lang/String;ZZ)V");

jobject jContentAppList = nullptr;
TargetEndpointInfo * endpoints = targetVideoPlayerInfo->GetEndpoints();
Expand Down

0 comments on commit c5a9d76

Please sign in to comment.