Click here to Skip to main content
16,021,288 members
Home / Discussions / WPF
   

WPF

 
Questionhow to design page navigation window form using back and next button. Pin
@nisha 2n19-Oct-09 21:43
@nisha 2n19-Oct-09 21:43 
Questionhow to design page navigation window form using back & next button Pin
@nisha 2n19-Oct-09 21:41
@nisha 2n19-Oct-09 21:41 
AnswerRe: how to design page navigation window form using back & next button Pin
Mark Salsbery20-Oct-09 6:27
Mark Salsbery20-Oct-09 6:27 
QuestionError passing List as a parameter to web service Pin
CBenac19-Oct-09 9:17
CBenac19-Oct-09 9:17 
AnswerRe: Error passing List as a parameter to web service Pin
Nigel Ferrissey19-Oct-09 10:38
Nigel Ferrissey19-Oct-09 10:38 
AnswerRe: Error passing List as a parameter to web service Pin
Mark Salsbery19-Oct-09 11:33
Mark Salsbery19-Oct-09 11:33 
GeneralRe: Error passing List as a parameter to web service Pin
CBenac19-Oct-09 12:47
CBenac19-Oct-09 12:47 
QuestionWebcam Capturing and Broadcasting To Multiple And Receiving Requests To See Webcam ---All Via Peep To Peer Communication Pin
deepbhullar19-Oct-09 2:17
deepbhullar19-Oct-09 2:17 
Hello To All,


I have developed a WPF Browser Application that captures webcam and broadcasts to to the persons in the list-box.
My problem is i m able to broadcast my webcam but when i see other webcam it shows me mixed streaming of both webcam 's .
One more problem is when two webcam get connected it gets very slow.

public void ShowVideo(Stream stream)
{
try
{

using (System.Drawing.Image objimage = System.Drawing.Image.FromStream(stream,true))
{
Bitmap objbitmap = new Bitmap(objimage);


MemoryStream str= SetImageSize(objbitmap);
Bitmap bitnew = new Bitmap(str);


IntPtr hBitmap = bitnew.GetHbitmap();
BitmapSource bmpSrc = Imaging.CreateBitmapSourceFromHBitmap(hBitmap, IntPtr.Zero,
Int32Rect.Empty, BitmapSizeOptions.FromEmptyOptions());
DeleteObject(hBitmap);

imageOnlineUser.Source = bmpSrc;
if (this.ConnectDisconnect == false)
{
btnVideoShare.IsEnabled = false;

}
stream.Flush();
stream.Dispose();
GC.Collect();


}

}
catch (Exception ex) { }

}

I m using above method to show my webcam.
Please Help Me.

With Best Regards

Hardeep Singh Bhullar

Hardeep Singh Bhullar

QuestionO.o help hehe beginner [some what have an answer] Pin
nerra19-Oct-09 0:01
nerra19-Oct-09 0:01 
AnswerRe: O.o help hehe beginner Pin
Richard MacCutchan19-Oct-09 0:04
mveRichard MacCutchan19-Oct-09 0:04 
GeneralRe: O.o help hehe beginner [modified] Pin
nerra19-Oct-09 0:09
nerra19-Oct-09 0:09 
GeneralRe: O.o help hehe beginner Pin
Richard MacCutchan19-Oct-09 0:32
mveRichard MacCutchan19-Oct-09 0:32 
GeneralRe: O.o help hehe beginner Pin
nerra19-Oct-09 0:54
nerra19-Oct-09 0:54 
GeneralRe: O.o help hehe beginner Pin
Richard MacCutchan19-Oct-09 1:22
mveRichard MacCutchan19-Oct-09 1:22 
GeneralRe: O.o help hehe beginner Pin
nerra19-Oct-09 1:33
nerra19-Oct-09 1:33 
GeneralRe: O.o help hehe beginner Pin
Mark Salsbery19-Oct-09 7:10
Mark Salsbery19-Oct-09 7:10 
GeneralRe: O.o help hehe beginner Pin
nerra21-Oct-09 2:53
nerra21-Oct-09 2:53 
GeneralRe: O.o help hehe beginner Pin
Richard MacCutchan21-Oct-09 3:03
mveRichard MacCutchan21-Oct-09 3:03 
GeneralRe: O.o help hehe beginner Pin
nerra23-Oct-09 18:44
nerra23-Oct-09 18:44 
GeneralRe: O.o help hehe beginner Pin
Richard MacCutchan23-Oct-09 21:27
mveRichard MacCutchan23-Oct-09 21:27 
AnswerRe: O.o help hehe beginner [some what have an answer] Pin
Christian Graus20-Oct-09 20:35
protectorChristian Graus20-Oct-09 20:35 
GeneralRe: O.o help hehe beginner [some what have an answer] Pin
nerra21-Oct-09 15:12
nerra21-Oct-09 15:12 
Questionupload a file using a batch file Pin
monu nair18-Oct-09 20:53
monu nair18-Oct-09 20:53 
AnswerRe: upload a file using a batch file Pin
Pete O'Hanlon18-Oct-09 23:12
mvePete O'Hanlon18-Oct-09 23:12 
AnswerRe: upload a file using a batch file Pin
Christian Graus18-Oct-09 23:53
protectorChristian Graus18-Oct-09 23:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.