Giter VIP home page Giter VIP logo

Comments (6)

dmorn avatar dmorn commented on June 12, 2024 1

I agree 😉 It works though, thanks.

from membrane_core.

mat-hek avatar mat-hek commented on June 12, 2024

Whenever a dynamic input pad is unlinked, an end_of_stream is generated (as long as a start_of_stream has arrived before). It seems that's your case too.

from membrane_core.

dmorn avatar dmorn commented on June 12, 2024

Hi @mat-hek! This is a no-go for our pipeline. Is there a clean way to distinguish between an "upstream" end_of_stream and this one?

from membrane_core.

mat-hek avatar mat-hek commented on June 12, 2024

Currently, there's not :/ But I think we can add such information to the callback context. To work this around, you can send your custom event before the end_of_stream and handle that instead

from membrane_core.

dmorn avatar dmorn commented on June 12, 2024

I was thinking about sending myself a message when the end_of_stream arrives. If an handle_pad_removed callback is called before the message comes, back, I'll discard it. Otherwise I'll deliver the end_of_stream. WDYT? We basically have a "dynamic input pad adapter" before each crash group so that we can isolate the different portions of the pipeline, we are not actually dynamically adding/removing pads in there if not on a crash.

from membrane_core.

mat-hek avatar mat-hek commented on June 12, 2024

Yes, it's quite hacky but it should work ;)

from membrane_core.

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.