Giter Site home page Giter Site logo

Comments (5)

paullouisageneau avatar paullouisageneau commented on September 25, 2024 1

The warning means either you are sending faster than the network link can handle or the system maximum UDP socket buffer size is too small to contain a single frame. Since you are sending at a rather low bitrate here, it's probably the latter.

On Linux, you can increase the maximum socket buffer size with:

$ sudo sysctl -w net.core.wmem_max=1048576
$ sudo sysctl -w net.core.rmem_max=1048576

The change can be made persistent in /etc/sysctl.conf.

from libdatachannel.

BlueCannonBall avatar BlueCannonBall commented on September 25, 2024

Running that didn't help. I don't think the issue is at that level, because as I said before, I can use GStreamer's udpsrc to view the screen without any problems.

from libdatachannel.

paullouisageneau avatar paullouisageneau commented on September 25, 2024

Running that didn't help.

Did you run it on the sender host before starting the media-sender?

I don't think the issue is at that level, because as I said before, I can use GStreamer's udpsrc to view the screen without any problems.

The warning specifically means that a packet is dropped because the socket buffer is full. It can be explained only by a too small socket buffer or sending over link capacity. The stream might still be fine as the decoder is tolerant to losses.

from libdatachannel.

BlueCannonBall avatar BlueCannonBall commented on September 25, 2024

Did you run it on the sender host before starting the media-sender?

Yes. Should I try running it on the receiving side as well?

from libdatachannel.

paullouisageneau avatar paullouisageneau commented on September 25, 2024

Yes. Should I try running it on the receiving side as well?

No, setting it on sender should be sufficient. What is your network setup?

By the way, udpsink in your pipeline has host=0.0.0.0, whereas it should be host=127.0.0.1. 0.0.0.0 would literally mean "broadcast to any address" and you don't want to do that (it should still send to localhost in that case but you never know).

from libdatachannel.

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.