TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pramod Kumar Nandagiri
NA
484
0
live video streaming from one pc to multiple pc's
Nov 2 2009 1:51 AM
bellow is the code iam using for vido streaming through the ethernet cable, with this code iam able to send video stream to only on pc using the ipaddress of that pc if i want to send it to the multiple pc's then how , please help me on this
System.Drawing.
Size
s =
new
System.Drawing.
Size
(115, 115);
pictureBox1.Image = resizeImage(e.WebCamImage, s);
pictureBox1.Image.Save(
"C:\\img1.jpg"
); //for every 20 milliseconds this image is updated
string
path =
"c:\\img1.jpg"
; //this image is send to other pc for every 20 ms, through trasferring imagefile for every 20ms iam doing video streaming
FileStream
fs =
new
FileStream
(path,
FileMode
.Open,
FileAccess
.Read);
BinaryReader
br =
new
BinaryReader
(fs);
byte
[] data = br.ReadBytes(
Convert
.ToInt16(fs.Length));
send =
new
UdpClient
();
sendpt =
new
IPEndPoint
(
IPAddress
.Parse(txtipaddress.Text), 3333);//Here Iam giving ip address , by giving like this i can send this video //stream to only one system if want to send this video stream to two different applies running on two diffrent systems then i need to //use the ipaddresses of the two systems
//how to send this video stream to multiple systems
send.Send(data, data.Length, sendpt);
fs.Close();
br.Close();
send.Close();
Reply
Answers (
1
)
Exception Handling in Own Massage
How to set page orientation programmaticaly in print preview dialog of microsoft web browser control?