Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

streaming

Posted on 1999-08-02
3
Medium Priority
?
290 Views
Last Modified: 2013-11-20
Hi friends..

I just have a doubt in data transfer from server to client..Actually if a client needs to download a file from the server it will send a request to the server then the server will transfer the file as packets to the client.. in the client side after all the packets are recieved, ie the entire file is loaded into the memory and then only the file can be run in the local machine..

The problem is if the file is so big (eg. multimedia files) it needs a lot to time to load the file from the server to client.. so using the streaming technique i heard that the file can be run while the client is recieving the packets from the server.. ie, the client will open the file with the recieved packets .. it will not wait until all the packets are recieved..

are u able to understand what i am trying to say..???

ok.. i will give an example.. if u r downloading a avi file from the server, u dont need to wait for entire downloading... if the client starts recieving the packets.. the client has to run the avi file...and simultaneously the remaining packets are loaded into client so that the end user feels like a faster access from the server... this could save a lot of time for data transfer..

anyone can help out in this..????

i want to know how streaming can be done thru MFC... u can tell me the logic also...

axraja
0
Comment
Question by:axraja
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:axraja
ID: 1312397
Edited text of question.
0
 
LVL 23

Accepted Solution

by:
chensu earned 200 total points
ID: 1312398
AVI files do not support streaming. Instead, use Advanced Streaming Format (ASF).

http://www.microsoft.com/ASF

MFC does not provide anything about streaming. Look into DirectShow in DirectX Media SDK. You probably just need to incorporate the Windows Media Player Control into your application.

http://www.microsoft.com/directx/dxm/help/ds/c-frame.htm#default.htm
0
 

Author Comment

by:axraja
ID: 1312399
Thank you very much for your information chensu.. but i dont want microsoft's format and all.. I need the technique or logic, that how to do streaming for our own formatted files...

I just want to know how to code for streaming...??
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

671 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question