plátano plomo
plátano plomo

Reputation: 1737

How to determine when remote display drops frames?

When I cast via the Remote Display API, sometimes I notice the receiver application drop frames. Is there a way to programmatically determine when frame drop occurs?

Upvotes: 0

Views: 152

Answers (1)

Teyam
Teyam

Reputation: 8102

Reading through the documentation, it shows that rendering to the remote display session feature is already available for iOS framework. However, you may try if it is possible in Android since it was mentioned that Google Cast Remote Display API (being in beta version), features may change even before official release.

Other implementation that you can do and is already currently available (unfortunately, I haven't actually used it) is through classes that are used to manage various media interfaces as given in android.media. For Android, you can try using MediaCodec.OnFrameRenderedListener. It is a listener to be called when an output frame has rendered on the output surface.

On the other hand, you may also use the Google Cast Remote Display plugin for Unity to be able to use additional classes that are only for Remote Display Unity Plugin.

For more detailed information, please try going through the given documentations and you may also check these helpful references:

Upvotes: 0

Related Questions