connectedhomeip: [BUG] Can't connect Android CHPTVCastingApp with Android MatterTvServer

Reproduction steps

  1. Run the MatterTvAndroid content-app and platform-app on a Google Chromecast HD (API 31)
  2. Run the CHIPTVCastingApp on a Pixel 6a (API 34)
  3. Observe Casting Player is discovered correctly
  4. Click on observed casting player
  5. Observe no further changes in any ui

Bug prevalence

Every time

GitHub hash of the SDK that was being used

c15826050e744034ec9c90cf810fb2b34bb46c54

Platform

android

Platform Version(s)

No response

Anything else?

I am trying to implement a PoC for using Matter casting with our Player SDK and I am running into issues when using the unmodified example projects.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (1 by maintainers)

Most upvoted comments

@pgregorr-amazon I tried with the latest code by running git pull & git submodule update --init, but I still can’t connect with a FireTV device from an Android phone device. Below are the screenshot and the adb log. The error looks the same as the one I posted at https://github.com/project-chip/connectedhomeip/issues/34224

Screenshot 2024-11-27 at 14 41 10 [matter_connect_log.txt](https://github.com/user-attachments/files/17930398/matter_connect_log.txt)

Hi @Hiwensen and @strangesource

This PR(https://github.com/project-chip/connectedhomeip/pull/35984) fixes the issue you we’re seeing in June 2024: Commissioner Declaration with error code: 13 being sent from the platform app (tv-app) to the CHIPTVCastingApp (connectedhomeip/examples/tv-casting-app) and not being handled appropriately.

The tv-app has also been updated since June, it no longer sends the Commissioner Declaration with error code: 13.

You should be able to connect now. Please verify.

@lazarkov can you please look into adding documentation around the following (https://github.com/project-chip/connectedhomeip/tree/master/examples/tv-app/android):

the IDE prompts can’t find some classes when I run the tv-platform app, looks like the missed classes are from some .jar or .so file, but the developer doc didn’t say how to build those files.