Comments (5)
It appears that winsock is not even seeing the UDP packet from ffmpeg. In line 451 of reception_flow.cc
I see that pfds->revents == 0
, so there is no data to start processing. This is truly strange as I see UDP packets going to the same port when I run ffmpeg and the uvgrtp sender, but in the case of ffmpeg winsock is not getting any packets.
On closer inspection this was due to telling ffmpeg to send to "localhost", which caused it to send to ipv6 ::1
. It looks like the library won't find localhost ipv6 unless explicity listening to ::1
, which I ended up needing to use to listen to another media server.
I'm now handling a different issue, on line 879 of socket.cc
the WSARecvFrom
call returns -1.
from uvgrtp.
I found that WSARecvFrom was failing with code 10040 WSAEMSGSIZE.
On line 874 of socket.cc I increased the buffer length by 8 and it is now capable of handling ffmpeg's RTP packets. I imagine there's more data coming in than was used to compute buf_len
, which was causing it to fail. I can continue with my patch but it's probably worth finding out why the buffer is too short.
from uvgrtp.
If you try to increase in RCC_MTU_SIZE
, does it work then? IIRC FFmpeg sent a few extra bytes over 1500 which caused issues but I can't find a reference for it now
from uvgrtp.
Hello,
@dagrooms52 what is the situation with this? I think @altonen meant reducing the MTU size in uvgRTP so that they fit when the MTU size of the network is smaller than the default size in uvgRTP. We are currently working on a paper, but after that we can get more involved in helping with issues.
BR, Joni
from uvgrtp.
As I am reading the issue, it indeed seems that either decreasing the sending side MTU or increasing the receiving side MTU is the answer. This buf_len value is determined said RCC_MTU_SIZE flag. This can be changed with configure_ctx function in media_stream. I'm closing this issue.
Better default MTU size values can be suggested, but increasing means that it does not pass through all connections. It still might be worth it though if it means we operate better with ffmpeg.
BR, Joni
from uvgrtp.
Related Issues (20)
- Streaming 4K H264 video through Wireguard VPN HOT 9
- Compilation on Nanopi board HOT 3
- RTCP interval issues HOT 2
- A mistake for APP packet payload copying HOT 1
- Python API HOT 1
- Failed to flush the message queue HOT 15
- RTP header extension HOT 2
- uint8 overflow in a test HOT 2
- H264 Failed to flush the message queue HOT 16
- H265 Failed to flush the message queue HOT 3
- Streaming H264 video HOT 2
- Visual Studio Library Linking Documentation HOT 2
- H26x: Aggregation causes NAL units to be sent in different order HOT 5
- H26x incorrectly detected start code if preceded by 0x1 HOT 1
- H26x 00 01 00 detected as start code at certain alignments HOT 3
- bug in reception_flow.cc HOT 3
- error in uvgrtp::formats::h26x::packet_handler HOT 2
- [Android] Library fails to compile (at least for old SDK level 21) HOT 2
- rtcp_sender_report::report_blocks is always empty HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uvgrtp.