-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to use libVLCSharp.Forms nugut for displaying video from an UDP stream but it just doesn't seem to work. #13
Comments
Does it work with the vlc 3.0.0 desktop application |
When I say I tried with VLC application for Windows I mean I tried the desktop application and it fails on VLC 3.0.x but works fine on version 2.4 |
the nuget is very recent, so probably uses the code from VLC 3.0.x |
just in case it helps, I generate the UDP stream using FFMPEG using the following setting: ffmpeg -f gdigrab -framerate 30 -i desktop -preset ultrafast -vcodec libx264 -tune zerolatency -b 900k -f mpegts udp:https://127.0.0.1:1234 |
It works great on VLC v2.4 but with the newer 3.0.x it doesn't seem to recognize the codec used or something like that |
The NuGet is 3.0.0 in a packege, we never updated it to a more recent version. |
I will do that then, thanks |
It's hard to tell without the vlc logs (they will ask you). |
Before reporting the bug I made a little additional investigation and found out it is not a bug on VLC v3.0.x but a restriction on the maximum MTU size when using UDP. I made the change on the streaming source to take that into account and now it works fine on VLC desktop application for Windows v 3.0.x. |
Have you tried |
I am using a Xamarin.Forms example that simply sets the video directly on the XAML so I have no control on the loading of the video or anything. I will check that property to see if I can find any info there, but if I have to write into it what is happening (+=...) then it doesn't help much. |
Then share your code. Helping you blindly is not very efficient ;-) |
I will try that. Thanks |
That link was of great use... I had to do some extra work to put the project to work but finally it works great... I owe you a couple beers at least. Thanks so much |
@fpuente70 Can you share you working code ? |
I tried with VLC application for Windows and it fails to reproduce the UDP video stream on version 3.0.x and works fine on the older version 2.4. ¿What has changed? ¿How can I make the nuget display the UDP stream video?
The text was updated successfully, but these errors were encountered: