Get ready for beta!

Halo Wars 2 Blitz: Game modes, beginner's tips, and more

One Windows

Microsoft is building a new Windows 10 Shell for PC, Mobile and Xbox

On the Inside

Everything you need to know about the Xbox Insider Program

Beautiful compromises

Surface Studio review: you'll want one, even if you don't need one

3-in-1

Is this the Surface Phone? Microsoft awarded patents for foldable devices

Windows Central Offers

MCSE Certification bundle is just $39

Even more improvements

All the changes found in Windows 10 build 15007!

Games as a Service

What does the cancellation of Scalebound mean for future Xbox exclusives?

Windows Central Offers

Save $90 on these FRESHeBUDS Pro Magnetic Bluetooth Earbuds

Returning for 2017

We're back with an new episode of #AskDanWindows

Lifetime Subscription

VPNSecure is currently 91% off

Our favorite things

The Best of CES 2017 Awards

Infinity Edge in your hand

The XPS 13 2-in-1 is the Dell convertible we've always wanted

Project Valerie

Razer just made a laptop with three — THREE! — 17-inch 4K displays. 😱

Great design from Palo Alto

HP's CES 2017 releases are truly gorgeous PCs

Intel and Google's big day

CES 2017 Day Two: New laptops, new phones, and old ideas made new

Take five is better than ever

The updated Lenovo ThinkPad X1 packs Kaby Lake chips and zero bloatware

Everything we know about the next Xbox: Project Scorpio

UWPowered

'Game Mode' for Windows 10 will power Xbox One and Scorpio games too

Buyer's guide

Best accessories for Microsoft Surface Book

< >
Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 1 of 1
  1. eltodesc's Avatar
    Member

    Posts
    1 Posts
       #1  
    I need the ability to retain the PhotoCamera initialization state throughout the life of my application. I am attempting to do this within a static class. Within this class, I create a public static instance of the PhotoCamera object as well as a public static instance of a VideoBrush and set the brush's source as the camera. This all happens within my static constructor (so only once). Now, when I navigate to my camera preview page (that contains a canvas object to display the real-time video stream) I set the canvas's background to the static instance of my VideoBrush. This works the very first time I navigate to my camera preview page but does no longer displays video on any subsequent visits. The camera appears to still be working (as I can save off frames) but the video stream never gets shown within my canvas. My goal is to avoid the multi-second initialization delay each time the camera get initialized whenever I navigate to my camera preview page. How can I accomplish this????? Thanks for your help.

Similar Threads

  1. MS sucks at keeping track of installed/bought apps
    By kalldrexx in forum Windows Phone 7
    Replies: 14
    Last Post: 04-25-2011, 11:06 PM
  2. Sombody convince me to keep my Surround!
    By KrGow in forum HTC Surround
    Replies: 6
    Last Post: 02-21-2011, 01:05 AM
  3. Keep Hitting Samsung Focus Power Button
    By DotNetRob in forum Samsung Focus
    Replies: 0
    Last Post: 12-15-2010, 09:38 AM

Posting Permissions