Coder Social home page Coder Social logo

Comments (4)

gtrifonov avatar gtrifonov commented on August 15, 2024

We have notification implementation based on azure queue. It is not real time notification but has been implemented to serve described scenario and avoid polling media service directly. Jim do you have any particular use case details when notification through azure queue is not enough? With azure queue notification you will not be able to track % of progress, but you will get queue message per state change.

from azure-sdk-for-media-services.

turanuk avatar turanuk commented on August 15, 2024

Hi George, yes I'm able to attach an event handler for each job that is submitted, but there isn't a way for me to bridge when jobs are related at a higher level. Let's say I create a thumbnail and an HLS video for an input asset - I want to create this concept of "encoding in progress", which will finish when BOTH jobs finish. Does that make sense?

I could workaround by storing job state/workflow inside a database on my end and checking the db when the state changes, but ideally there's a way to group jobs together.

from azure-sdk-for-media-services.

bhanuneti avatar bhanuneti commented on August 15, 2024

You may want to look at submitting a multiple tasks job where you can submit a job with more than one task (either parallel or chained), one task for thumbnail and another task for smooth etc. That way job state changes to finished when all the tasks are finished.

from azure-sdk-for-media-services.

gtrifonov avatar gtrifonov commented on August 15, 2024

Currently we are not targeting to implement notification chaining and workflow management like you described above.As you mentioned it can be done in one layer above Media Service. For now I would recommend to utilize notifications through azure queues or some db layer and build such functionality.

from azure-sdk-for-media-services.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.