diff --git a/Assets/Scripts/MjpegProcessor.cs b/Assets/Scripts/MjpegProcessor.cs index 57e1db2..044b933 100644 --- a/Assets/Scripts/MjpegProcessor.cs +++ b/Assets/Scripts/MjpegProcessor.cs @@ -5,13 +5,9 @@ using System.Net; using System.IO; using System.Threading; -// If you see the error "The type or namespace name `Drawing' does not exist in the namespace `System'. Are you missing an assembly reference?" -// Then you need to copy "System.Drawing.dll" from the Mono directory into your Unity Project Directory -using System.Drawing; public class MjpegProcessor { - public Bitmap bitmap { get; set; } // 2 byte header for JPEG images private readonly byte[] JpegHeader = new byte[] { 0xff, 0xd8 }; // pull down 1024 bytes at a time diff --git a/Assets/Scripts/MjpegTexture.cs b/Assets/Scripts/MjpegTexture.cs index 2eafcdb..5f4d022 100644 --- a/Assets/Scripts/MjpegTexture.cs +++ b/Assets/Scripts/MjpegTexture.cs @@ -1,8 +1,6 @@ using UnityEngine; using System; -using UnityEngine.UI; - /// /// A Unity3D Script to dipsplay Mjpeg streams. Apply this script to the mesh that you want to use to view the Mjpeg stream. /// @@ -10,7 +8,7 @@ public class MjpegTexture : MonoBehaviour { /// /// Set this to be the network address of the mjpg stream. - /// Example: "http://extcam-16.se.axis.com/mjpg/video.mjpg" + /// Example: "http://camera19.city.tarumizu.kagoshima.jp/nphMotionJpeg?Resolution=640x480" /// [Tooltip("Set this to be the network address of the mjpg stream. ")] public string streamAddress; diff --git a/Assets/Scripts/System.Drawing.dll b/Assets/Scripts/System.Drawing.dll deleted file mode 100644 index ee43b9b..0000000 Binary files a/Assets/Scripts/System.Drawing.dll and /dev/null differ diff --git a/Assets/Scripts/System.Drawing.dll.meta b/Assets/Scripts/System.Drawing.dll.meta deleted file mode 100644 index d1344e7..0000000 --- a/Assets/Scripts/System.Drawing.dll.meta +++ /dev/null @@ -1,24 +0,0 @@ -fileFormatVersion: 2 -guid: 2dd79369e7116ed48863338c5d115aef -timeCreated: 1469827251 -licenseType: Free -PluginImporter: - serializedVersion: 1 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - platformData: - Any: - enabled: 1 - settings: {} - Editor: - enabled: 0 - settings: - DefaultValueInitialized: true - WindowsStoreApps: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: