Cast Support Limitation¶
By default, the Wave SDK supports Cast feature. It means developer does not need to implement this feature by herself. The Wave Cast feature is based on the Android Display Manager. The Wave runtime selects a suitable virtual display to project VR screen automatically, while device connecting to remote display.
If application creates a public presentable virtual display, Cast may not work normally. This is because Wave runtime could not distinguish between remote display and the display created by application. So, if the application needs to create virtual display, we suggest to set it to private. There is another way to work around, appending string “Overlay” into the name of created virtual display, Wave runtime skip this kind of display while selecting.
Reference Android developer docs