C# 将视频从pi cam流到unity项目

C# 将视频从pi cam流到unity项目,c#,unity3d,raspberry-pi,gstreamer,vuforia,C#,Unity3d,Raspberry Pi,Gstreamer,Vuforia,我正在使用raspberry pi和pi cam将视频从我的pi传输到我的PC。我已经在pi和PC上使用gstreamer实现了这一点,但现在我想在Unity增强现实项目中使用该流 以下是pi上运行的代码: #!/bin/bash clear raspivid -n -t 0 -w 960 -h 720 -fps 30 -b 6000000 -o - | gst-launch-1.0 -e -vvvv fdsrc ! h264parse ! rtph264pay pt=96 config-in

我正在使用raspberry pi和pi cam将视频从我的pi传输到我的PC。我已经在pi和PC上使用gstreamer实现了这一点,但现在我想在Unity增强现实项目中使用该流

以下是pi上运行的代码:

#!/bin/bash
clear
raspivid -n -t 0 -w 960 -h 720 -fps 30 -b 6000000 -o - |  gst-launch-1.0 -e -vvvv fdsrc ! h264parse ! rtph264pay pt=96 config-interval=5 ! udpsink host=***YOUR_PC_IP*** port=5000
在Unity应用程序中,我将Vuforia用于增强现实。 我想为视频使用pi,以便网络摄像头可以便携


关于如何从pi中获取Unity C中的流有什么想法吗?

你有没有研究过RaspberryCam:@gmiley看看它,对于使用pi的硬件和管脚进行编程,而不是使用mono或windows iot core,而不是我看的东西,似乎更是如此