Coder Social home page Coder Social logo

Comments (5)

miyukki avatar miyukki commented on June 19, 2024

It is True.

from node-applest-atem.

 avatar commented on June 19, 2024

Yes, it's even worse: The existing UDP Sockets will not be closed when reconnecting. After a while at least on Windows an application will not be able to reconnect anymore as there are no local ports left. Do you have a quick fix for this?

from node-applest-atem.

TomKaltz avatar TomKaltz commented on June 19, 2024

I modified and moved creation of UDP socket to the constructor. It only
needs to be created once.

On Sun, Nov 13, 2016 at 7:40 AM, susdorf [email protected] wrote:

Yes, it's even worse: The existing UDP Sockets will not be closed when
reconnecting. After a while at least on Windows an application will not be
able to reconnect anymore as there are no local ports left. Do you have a
quick fix for this?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#15 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC0_IT9lmYI1XVkQcxLMWeWwI9mgRLhnks5q9wU2gaJpZM4Jj-VX
.

from node-applest-atem.

 avatar commented on June 19, 2024

Thanks, I have edited the connect method to close an existing socket before creating a new one. This has also worked for me. I did not know a reconnection is really needed or not and how ATEM handles clients internally. But good to know your approach also works fine.

from node-applest-atem.

miyukki avatar miyukki commented on June 19, 2024

@TomKaltz @susdorf
Now we pushed the new version that fixed udp initialization problem. Let's try it.
If you use local_port parameter calls connect() should be move to constructor options.

from node-applest-atem.

Related Issues (11)

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.