Write a music streaming server and a client that connects and plays the music.

The base requirements for the server and client are as follows:

1. The client and server components must be capable of running on separate machines.

2. The client must be able to play .WAV files.

3. All audio tracks must only exist on the server.

4. The client and server must communicate and transfer data using sockets. The client must NOT read audio data from the server using any file-handling functions.

5. The server must be able to accept connections from and process requests from multiple clients concurrently.

6. The user of the client must be able to request a list of audio tracks from the server and the user must be able to select one for playback.

7. The user of the client must be able to start and stop playback of the selected track.

8. The server should be a console application that does not require any user input during execution. The server may access a configuration file or the registry for sufficient startup information required to establish communication with clients (such as IP port number to use, etc.). All other configuration of the server should be done via the client. The server may output logging or diagnostic messages to the console.

9. The server must be written in unmanaged (native code) C++. You may not use Microsoft’s managed or universal application extensions to C++.

10. The part of the client application that communicates with the server and plays the audio must be written in unmanaged (native code) C++.

11. The audio content must be played by the client using the DirectSound API.

12. The size of any individual buffer used in the client to receive data from the server can be no larger than 128KB.

13. The size of the secondary buffer used in DirectSound to hold the section of audio to be played can be no larger than that required to hold approximately four seconds of music.

The above list contains the base features that must be present in any solution in order for you to pass this assessment. It is important to note that, even if you implement additional features as described below, if the base functionality is not implemented correctly, then you will not be able to pass this assessment. In particular, the audio must play cleanly, without any clipping or gaps between sections of the audio track (except those caused by any network latency if the client and server are on different machines).

You must demonstrate the appropriate use of modern C++ features, including smart pointers. Any use of raw pointers should be justified using comments in your source code.

If the client only provides a console (character-based) user interface, then it will not be possible to obtain a grade higher than 55% or higher for this assessment.

Your client will need to provide a graphical user interface. In order to do this, the C++ code that communicates with the server and plays the audio must be packaged into a dynamic link library (DLL) and a suitable API exposed by the DLL that can be called from any suitable high-level language. You may write the user interface in any language of your choice using any suitable user interface API, but it must use the C++ DLL for all communication with the server and all audio playback.

Your code must contain additional evidence of independent learning. Examples of this may include, but is not restricted to, the following:

Creation of a playlist of tracks that automatically play one after another with the ability to fade out one track and fade in another.

The user interface shows the progress of the playback of the audio file.

The user interface allows control of the volume of the playback.

Skills: C Programming, C++ Programming, Software Architecture

See more: java server client audio streaming, video streaming server client program, server client video streaming java code, write xmpp server chat client, audio streaming udp client server programming, java unicast client streaming server, jmf server webcame video streaming j2me client, streaming audio file server client, streaming server client, streaming directshow client server, server client video streaming, server client audio streaming, development video streaming server client, video streaming tcp client server, video streaming api server client, android music streaming server

About the Employer:
( 1 review ) Thessaloniki, Greece

Project ID: #22747296

7 freelancers are bidding on average €157 for this job


Hi sir, I have read your project description and I am interested in the project. As you can see my profile, I am a full-time developer and have just completed many projects. Specially, I have wide experience in C/C More

€200 EUR in 2 days
(7 Reviews)

• 20+ years’ experience Software Development - Since 1997 • 15+ years’ experience C#/.NET software development - Since 2004 • 17+ years’ experience ASP.NET Web Form ASPX - Since 2002 • 5+ years’ experience ASP.NET M More

€140 EUR in 7 days
(4 Reviews)

how are you? I am a senior programmer and have experience in c, c++, c#, python for 10+ years. As you can see from my profile and reviews, I have the ability and passion to make 100% success of anything. if you hire me More

€140 EUR in 7 days
(4 Reviews)

And what is budget for this ?

€140 EUR in 7 days
(1 Review)

Hello sir, I have 8+ years of experience in C#/C++/JAVA programming. I have read your project description fully. I can understand and finish it wonderfully . I guarantee high project development and quality as a se More

€200 EUR in 2 days
(2 Reviews)

HI I am experienced in C Programming Software Architecture C++ Programming etc I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for your reply

€140 EUR in 7 days
(0 Reviews)

⭐⭐⭐Hello, sir⭐⭐⭐ Glad to bid on your post. I am new to here in freelancer and I know there are many seniors to me. But I have 5 years of C/C++ development so I can handle this project. ✅I have gone through your projec More

€140 EUR in 7 days
(0 Reviews)