1/21/2024 0 Comments Vlc media player freezingUseRenderingPlugin:PlayPause() (at Assets/VLC-Unity-Windows/Scripts/UseRenderingPlugin.cs:48) Works in other RTSP viewer apps on Windows. Stream of RTSP camera works with VLC media player on Windows 10, without video freezing. Does it work on other platforms? Does it work with the official VLC apps? It should show updated time stamp even if there is no motion. Video should continue to stream without freezing. Video stream may unfreeze for a second or two before freezing again. Video freezes after a random amount of time, less than one minute. Open UseRenderingPlugin script and edit line 60 under the PlayPause() method to:.Import the VLC for Unity (Windows) from the asset store.I know you can't reproduce this exact stream but since the stream is working in VLC media player for Windows I believe the stream is not the problem. The stream is coming from a WYZE Cam v2 running custom firmware for RTSP. Strangely the audio does not freeze, and I can still hear it after the video freezes. There is a timestamp in the corner which stops counting. _mediaPlayer.Media = new Media(_libVLC, " FromType.FromLocation) Īs I said, initially the stream displays fine and runs for a few seconds before it freezes. _mediaPlayer.Media = new Media(_libVLC, " ", FromType.FromLocation) In the PlayPause() method I changed this line only: To get the stream onto a texture I modified the included example by changing the UseRenderingPlugin script. Initially it works fine and I can view the stream, but it randomly freezes up after 5-45 seconds. The stream from the RTSP camera freezes up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |