mediaplayer's People
mediaplayer's Issues
Implement HTTP server
Implement an HTTP server that handles client requests and response to client with requested resource.
Requested resource can be:
- dynamic page
- static file
- message of any protocol that works over HTTP (e.g. XML)
Server is a kind of drive for application. It is started when application starts and it is stopped when application stops. HTTP server handles all client requests.
Server must provide an interface for web applications (something like servlets in Java). So the core logic of application will be implemented as web application that will work on created server.
Communication between client and application is following:
- Server is binded to some port on PC where application is installed and listens to this port.
- Client sends the request using web browser (navigates to some URL).
- Server reads the request and parses it to the form that web application hosted on the server can understand.
- Server passes the request object to appropriate web app (it depends on requested resource) or tries to send a static file if no needed web apps were found.
- Web app handles the request and fills the response object that was passed to web app by server and was initialized by default values before.
- Server waits for response object and prints it to the socket.
- Client receives the response.
Implement Web app for home media player
Create a web application that will be hosted on the server implemented before (see appropriate task). Application should communicate with omxplayer player according to client requests. A separate process with omxplayer player should be ran by application and this process should be fully managed by web app. Each request to web app equals a single command sent to player's process.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.