×

Coordination of fault-tolerant video stream processing in cloud-based video streaming system

  • US 9,344,751 B1
  • Filed: 05/08/2015
  • Issued: 05/17/2016
  • Est. Priority Date: 05/08/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method executed by an electronic device implementing a streaming platform coordinator (SPC) to coordinate at least a first and a second video streaming platform for processing video sources, wherein at least a subset of the video sources are accessible to both the first video and the second video streaming platforms, the method comprising:

  • receiving a request to create a media workflow for a video source, wherein the request indicates that the media workflow is required to be redundant;

    responsive to receiving the request at the SPC, transmitting two requests to create the media workflow, one each to the first and second video streaming platforms from the SPC, wherein each of the first and second video streaming platforms is caused to create one instance of the media workflow using the video source as input and using a common set of resources of a content distribution network (CDN) to publish, and wherein a first instance of the media workflow is assigned to a first worker at the first video streaming platform and a second instance of the media workflow is assigned to a second worker at the second video streaming platform;

    receiving requests at the SPC from the first and the second video streaming platforms to route the video source to the first and the second workers respectively;

    causing the video source to be routed to the first and the second workers; and

    communicating with the first and the second workers so that only one worker out of the first and second workers publishes output from one instance of the media workflow to the CDN at a given moment, where communicating to the first and the second workers includes receiving a request to publish output of an instance of the media workflow from at least one of the first and the second workers, determining one worker out of the first and the second workers to publish to the CDN for a period of time, and granting a permission to publish to the one worker for the period of time so that the one worker publishes the output of its instance of the media workflow to the CDN, wherein the one worker makes current media workflow publishing progress information accessible to the streaming platform coordinator,wherein publishing is a task of a task graph created for the instance of the media workflow in the first and second video streaming platforms, wherein the task graph is a directed acyclic graph of tasks with each node of the task graph representing a processing task and each edge of the task graph representing a data flow across two tasks and a corresponding input and output of each task.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×