Giter Site home page Giter Site logo

alperencubuk / video-and-audio-broadcast-app Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 1.29 MB

This is simple stream app written with Java. Client/Server architecture and sockets used. Video and audio captured Server's webcam and microphone. Clients can watch Server's stream.

Java 100.00%
java broadcast webcam microphone client-server stream eclipse-ide

video-and-audio-broadcast-app's Introduction

Video and Audio Broadcast App with Java

Summary:

This is simple stream app written with Java. Client/Server architecture and sockets used. Video and audio captured Server's webcam and microphone. Clients can watch Server's stream.

Requirements:

  • Webcam and Microphone.
  • JRE 1.8+ or JDK 1.8+.
  • Eclipse IDE. (Recommended)

How to Run on Eclipse:

  • Download or clone this repository. Then open Eclipse IDE.
  • File > Open Projects from File System... > Directory > Select Broadcast Folder > Finish.
  • Right click Broadcast Project at Package Explorer and go Properties > Java Build Path (Left side) > Libraries (Top side).
  • Select 4 JARs and delete:
    • bridj-0.7.0.jar
    • slf4j-api-1.7.25.jar
    • slf4j-nop-1.7.25.jar
    • webcam-capture-0.3.12.jar
  • Then click Add External JARs (Right side) and go to jar folder in Broadcast folder.
  • Select 4 JARs and Appy changes.
  • Go Broadcast > src > broadcast and double click RunClient.java and RunServer.java at Package Explorer.
  • You can edit Audio Port, Video Port. (They can't be the same.)
  • Run Server first. Then run Client. You can run more than one Client.

Broadcast Test:

  • Use two computer one of Server and one of Client.
  • Server and Client must be in same network.
  • Run Server on computer which have working webcam and microphone.
  • Edit Client code and write Server's IP address instead of localhost.
  • Run Client and you can see Server's webcam video and hear voice which captured Server's microphone.

Standalone Audio/Video Broadcast:

  • Audio and Video stream can work standalone. All classes have main method.
  • Use AudioServer.java and AudioClient.java in audio package for stream only audio.
  • Use WebcamServer.java and WebcamClient.java in webcam package for stream only video.

Thanks:


Alperen Cubuk

video-and-audio-broadcast-app's People

Contributors

alperencubuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

success-guy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.