newrelic / newrelic-browser-agent

New Relic Browser Agent
Apache License 2.0
84 stars 44 forks source link

Decide what to do with Smart TV Browser apps (Testing, Support) #121

Closed metal-messiah closed 9 months ago

metal-messiah commented 3 years ago

Summary

We are seeing more and more issues pop up with Smart TV apps. Smart TV will also only grow from here. We have no testing , focus, or plan in place for any Smart TV environment. This ticket could serve to get a discussion going about how we want to approach Smart TV apps moving forward

Possible Solution

Some options:

Additional context

Smart TV app development will only grow as more people have Smart TVs than ever before, and many companies are embracing a streaming video approach from home over other mediums. We should at least consider our options for staying relevant with these apps and try to mitigate issues if we can.

aubreymasten commented 3 years ago

In the past we have attempted to abort the agent by:

We could instrument these methods with a supportability metric to track how often the agent fails to load.

In the case where we aren't able to successfully abort the agent, we may need to identify other strategies for aborting the agent. It's also possible our current detection approaches are working, but we're not correctly aborting the agent and there are still memory leaks to be found.

cjmccarthy commented 2 years ago

@metal-messiah @aubreymasten We have a lot of trackers for streaming video built by @asllop that our Media customers are using in production for web environments - Smart TVs and Game Consoles included. It can be an adventure with those customers to get the browser agent working correctly in those environments, but I can confirm there is a huge use case here and more official support for Smart TV and Console environments could help us drive a lot of usage.

asllop commented 2 years ago

Hi @metal-messiah ! NR's main video telemetry engineer here. I have successfully integrated the browser agent in Chromecast, but haven't tested any other JS-based SmartTV. Actually, I have been told that some Smart TVs (especially old ones) can't run the browser agent, and this led me to modify the video agent core to accept custom event loggers besides the NR browser agent. Regarding the subset of SmartTVs that should be supported, have a look at this market share investigation I made a few months ago: The main ones worldwide are Samsung (Tizen) and Smart Alliance based systems. If you feel that need my collaboration just give me a shout.

cc @cjmccarthy