WPF+WCF Step by step Create audio Chat room (iv): Video session

Source: Internet
Author: User
Tags silverlight

In the previous three articles, I realized some of the features of the audio chat room, including: text chat, shared whiteboard, voice chat. In this article I will describe the technical essentials of video session implementation.

In the SILERLIGHT4 has integrated the camera and the acquisition sound function, but in the WPF4 has not directly can use the control, thus also can see, from the desktop program toward the Web program trend. If you want to use Silverlight to implement a similar audio chat room, I'll list some of the information below for your reference.

1. Your the Voice/video chatting client/server:

Http://www.codeproject.com/KB/silverlight/SilverlightVoiceVideoChat.aspx

2. Accessing Web Camera and microphone:

http://www.silverlight.net/learn/videos/all/access-web-camera-microphone/

3, the record of the Audio into A Wave File:

http://cspeex.codeplex.com/

4. Playback the Wave File in Silverlight:

Http://blogs.msdn.com/gillesk/archive/2009/03/23/playing-back-wave-files-in-silverlight.aspx

5. Using the g.711 Codec:

Http://www.codeproject.com/KB/security/g711audio.aspx

6. Convert encode and decode Silverlight:

Http://kodierer.blogspot.com/2009/11/convert-encode-and-decode-silverlight.html

This is the scenario and data for Silverlight implementation. This article is implemented with WPF+WCF. Listing Silerlight is convenient for everyone to have a comparison.

Video session implementation is the same as the way voice calls are implemented. The difference between them is that one gets the data through the microphone, and the other is the data from the camera. Below I use WF4 to draw a flowchart (this flowchart is just to illustrate the problem, not in the program).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.