Skip to content

vindecodex/PCAudioToAndroid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

PCAudioToAndroid

Stream Audio from PC to Android (Ubuntu)

Instructions

Clone and cd inside the project

  1. Find you source_name.
pactl list | grep "Monitor Source"
  1. Open shareAudio with editor and replate <source_name_here> with you source name.
#!/bin/sh
case "$1" in
  start)
    $0 stop 
    pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=<source_name_here> record=true port=8000
    ;;
  stop)
    pactl unload-module `pactl list | grep tcp -B1 | grep M | sed 's/[^0-9]//g'`
    ;;
  *)
    echo "Usage: $0 start|stop" >&2
    ;;
esac
  1. Run below command.
./pashare start
netstat -nlt | grep 8000 
telnet 127.0.0.1 8000
  1. Install and connect to your computer ip

Download PulseDroid APK

or

Download Simple Protocol Player

Source

StackOverflow

About

Stream Audio from PC to Android (Ubuntu)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages