summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeihsun Yeh <[email protected]>2019-01-02 17:17:26 -0800
committerPeihsun Yeh <[email protected]>2019-01-02 17:17:26 -0800
commit6e4385c5a55e829863cb781ffccc002c961dcf06 (patch)
treeb97e725cb664dea1695aaa59f06f3f9ac1fde286
parent080cc41332f5f1cddd8ace680f74a8b374e463b7 (diff)
Adding README and yaml
-rw-r--r--general/SimpleMediaSource/README.md34
-rw-r--r--general/SimpleMediaSource/general-SimpleMediaSource.yaml10
2 files changed, 44 insertions, 0 deletions
diff --git a/general/SimpleMediaSource/README.md b/general/SimpleMediaSource/README.md
new file mode 100644
index 00000000..509edf47
--- /dev/null
+++ b/general/SimpleMediaSource/README.md
@@ -0,0 +1,34 @@
+<!---
+ name: SimpleMediaSource Sample
+ platform: UMDF1
+ language: cpp
+ category:
+ description: Demonstrates how to write a custom media source and driver package.
+ samplefwlink:
+--->
+
+SimpleMediaSource Sample
+========================
+This sample demonstrates how to create a custom media source and driver package that can be installed as a Camera and produce frames.
+
+This sample has accompanying documentation here: https://docs.microsoft.com/en-us/windows-hardware/drivers/stream/frame-server-custom-media-source
+
+
+Contents
+--------
+MediaSource - COM DLL project for the custom media source
+
+SimpleMediaSourceDriver - UMDF driver install package
+
+Installation
+------------------
+
+1. Build the solution.
+
+2. Navigate to the output folder, e.g. Windows-driver-samples\general\SimpleMediaSource\x64\Release, and the driver package will be in a directory also called SimpleMediaSourceDriver. Check that the folder has `SimpleMediaSource.dll`, `simplemediasourcedriver.cat`, `SimpleMediaSourceDriver.dll`, and `SimpleMediaSourceDriver.inf`.
+
+3. Deploy the driver package with
+
+`devcon dp_add SimpleMediaSourceDriver.inf`
+
+4. In Device Manager, locate **SimpleMediaSource Capture Source**, under the Camera category. Open the Microsoft Camera App, switch cameras if necessary until the camera is streaming from the SimpleMediaSource. You should see a scrolling black and white gradient. \ No newline at end of file
diff --git a/general/SimpleMediaSource/general-SimpleMediaSource.yaml b/general/SimpleMediaSource/general-SimpleMediaSource.yaml
new file mode 100644
index 00000000..88e2d839
--- /dev/null
+++ b/general/SimpleMediaSource/general-SimpleMediaSource.yaml
@@ -0,0 +1,10 @@
+### YamlMime:Sample
+sample:
+- name: SimpleMediaSource Sample
+ description: Demonstrates how to write a custom media source and driver package.
+ generateZip: true
+ author: windows-driver-samples
+ languages:
+ - cpp
+ technologies:
+ - windows