Giter VIP home page Giter VIP logo

java-airplay-server-examples's Introduction

java-airplay-server-examples

build ViewCount License

All examples were tested with iPhone X (iOS 14.0.1)

gstreamer-player

09.06.2022 supports both video and audio (alac + aac_eld)

Gstreamer installation required (see https://github.com/gstreamer-java/gst1-java-core)

video demo
gstreamer_player.1.mp4

TODO description

tcp-forwarder

Forwards video and audio data to TCP

Play it with GStreamer or FFmpeg

cd tcp-forwarder/

gradle bootRun

gst-launch-1.0 -v tcpclientsrc port=5002 ! h264parse ! avdec_h264 ! autovideosink

or 

ffplay -f h264 -codec:v h264 -i tcp://localhost:5002 -v debug

ffplay -autoexit -f s16le -ar 44100 -ac 2 tcp://localhost:5003

You need to compile lib-fdk-aac for aac-eld decoding

gif demo

h264-dump

Saves video data stream to .h264 file, decoded audio to .pcm file

cd h264-dump/

gradle bootRun

ffplay -autoexit -f s16le -ar 44100 -ac 2 dump.pcm

You need to compile lib-fdk-aac for aac-eld decoding

vlcj-player

Playback screen mirroring in embedded vlc
Install VLC (https://github.com/caprica/vlcj)

cd vlcj-player/

gradle bootRun
gif demo

jmuxer-player

Playback screen mirroring with jmuxer

cd vlcj-player/

gradle bootRun

open index-h264.html in browser

gif demo

java-airplay-server-examples's People

Contributors

serezhka avatar

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.