Some way to modify background process / thread from UI (ASP.net Core 2) RRS feed

  • Question

  • Hello,

    I am developing a website in ASP .NET Core MVC 2.  I am trying to stream real-time video to my clients, and I need to do it frame by frame, as the video is modified before being sent to the users.  I have a Signalr hub set up and I was going to draw a new image to a canvas element using a data URI -- but I need some way to start a process in the background to continually grab new frames off my camera, paint them, and supply them to the hub and I need a way to stop this and restart it based on user input.  I have investigated cancellable tasks but I can't seem to figure out how to restart it once cancelled.  I also looked into background services using IHostedServices but there is no way to talk to that process once its started?

    Thanks in advance!

    • Moved by Fei Hu Monday, April 2, 2018 6:58 AM asp.net related
    Friday, March 30, 2018 10:38 PM

All replies

  • I am developing a website in ASP .NET Core MVC 2. 


    Friday, March 30, 2018 11:35 PM