Redefining the PC

Why Microsoft's Surface phone could be MUCH more than a mere 'phone'

Surface Pwn 5

Surface Pro 5, Project NEON details leaked on LinkedIn?

XP-YESSSSSSS

Dell's already awesome XPS 15 gets even better in 2017

Surface table meets Windows 10

Yes, we did put Windows 10 on the original Surface table ... and it rocks

Cream o' the crop

Before buying a Microsoft laptop, check out our pick for the absolute best

Simple and secure, just the way I like it

We think Windows 10 Cloud is a great idea, here's why

uber micro

Halo Wars 2 has something for everyone. Here's our full review.

Oldie but goldie

We reviewed Microsoft's decade-old Surface table

Creators Update comin' at ya

These are the coolest new features in the next big Xbox One update (video)

Buyer's guide

The Razer Blade 14 is the best laptop Razer has to offer

Windows 10 app gems

10 terrific Windows 10 apps you should be using

Tower of power

Here's what we think of Dell's XPS Tower Special Edition

Quite a deal

Grab the complete C# coding bootcamp for $41!

Your go-to laptop guide

Introducing our ultimate laptop buyer's guide

Listen here

Attn Android and iPhone users: What you need to know about Windows phone

Old is new?

The original Surface Pro still holds its own in the 2-in-1 world

Xbox Greenlight?

No, internet, Microsoft isn't opening Xbox to all UWP games

Falling in love

HP Envy 34 review: An ultrawide curved all-in-one after my heart

2015 machine in 2017?

Surface 3 still holds its own in 2017

Let Kodi cut your cord

You should be using Kodi for Windows 10

< >
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
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
       #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