Closed juliankoehn closed 1 year ago
The implementation for the use case has deviated from the proposed solution in that Golang was not used.
Instead, the Network Detector has been built directly into the player using TypeScript. The Network Detector displays a status screen when the network is unavailable and displays the regular player content when the network is available. The solution meets the acceptance criteria, as it displays the fallback content (status screen) when the network is down and displays the regular player content when the network is available. The code has been thoroughly tested and is functioning as expected.
The implementation of the solution took approximately 3 hours to complete. The next step is testing, for which the update will be pushed to the Edge Channel and tested on an endpoint device. This is expected to take 2-3 hours.
When the network cable is unplugged, the screensaver correctly displays, but upon replugging, the player does not seem to be able to find the network and displays a blank screen.
When the network cable is replugged, the player should be able to reconnect to the network and continue playing the content as normal.
This issue prevents the player from being able to reconnect to the network and display content after a network interruption, resulting in an unsatisfactory user experience.
The fallback content was displayed as expected when the network was down (step 2). The system was able to recover from the network failure and resumed normal operation after the cable was reconnected and a few seconds had passed (step 4).
The fallback content display function works as expected. This resolves this issue.
Problem Statement
When the digital signage player is not connected to the network, it should display a fallback content, such as a video, instead of the regular digital signage content.
Proposed Solution
The solution involves checking the network connection regularly in Golang and emitting an event to the frontend using a service provider (
ctx.Hub.BroadcastMessage(message)
) whenever the network connection state changes (i.e. goes online or offline). The TypeScript code using React will listen for these events and set the network connection status in state accordingly, rendering the fallback content if the network is down.Acceptance Criteria
Definition of Done
Implementation Steps
Estimated Time to Complete