Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question The code name for this App is Snippy, which is meant to offer... The code name for this App is Snippy, which is meant

Question

The code name for this App is "Snippy", which is meant to offer...

The code name for this App is "Snippy", which is meant to offer functionality for a personal journal where users can log their daily activities through text, voice, and video.

You have moved forward a few weeks ahead and have finished the core functionality. The challenge you have in front of you now is to perform additional actions to attachments such as automatic translation, transcoding, and automatic closed captioning. These actions are triggered once the media file is uploaded.

As an initial step, you must create the skeleton of the back-end service for performing the automatic closed captioning under these assumptions:

  • The closed captioning is performed through an external service (AWS or GCloud).
  • There should be an internal controller that:
  • Receives the recordings to be processed from a requester
  • Sends the recordings to the external service
  • Receives its response
  • Updates the recording with the resulting closed captioning; and
  • Responds back to the requester
  • The recordings can be processed simultaneously, but there is a limit of only 5 concurrent processes that can be handled by the sender.
  • Therefore, there should be a queue that will act as a buffer for the overhead.
  • Once the recording is processed, the external service responds with a callback, therefore a listener should be ready to receive that request and update the object with a text file containing the strings for the closed captioning.
  • Only audio and video can be processed.
  • The processing time depends on the length of the recording.

Task

Main class

  • Write the Main class that you will use as the simulator for testing your Classes

Closed-captioning controller

  • Write the class that will simulate the recording to be processed, which contains an id, the media, a length, and the strings for closed captioning.
  • Write the class that will be the actual controller (or spooler).
  • Write the class that will act as the worker for processing closed captioning through an external service
  • Implement the queue and callback actions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra

Authors: Margaret L. Lial, John Hornsby, David I. Schneider, Callie Daniels

12th edition

134697022, 9780134313795 , 978-0134697024

More Books

Students also viewed these Programming questions

Question

Graph each rational function. f(x) = 3x - 1 -2

Answered: 1 week ago