0

How to play Audio across Linux machines

asked 2014-06-01 21:20:21 -0800

snap_networks gravatar image

I have AllJoyn framework working on a linux machine. The audio service & client are able to communicate with each other via the daemon. I would like to make Audio stream across Linux machines. Please let me know how this can be achieved.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-02 13:05:57 -0800

bspencer gravatar image

I'm a little confused by the question, but lets try and explain some things...

Since you have the AllJoyn Audio Service able to compile on your linux machine you will need to now connect more linux machines into your network so they are on the same subnet. This will allow them to discover each other once you run the SinkService sample on each of them. Then on one of the linux machines run the SinkClient.

When the SinkClient is running you will see each of the SinkServie's found and are then added as a source endpoint. Next you will need to type in 'open' which will set all the Sinks to an open state and you can type 'play', 'pause' etc. to control the audio on each of the linux machines.

All that you need to run on other linux machines is connect them to the same network then run the SinkService sample.

edit flag offensive delete publish link more

Comments

Here are my logs .... Linux Machine #1 (192.168.5.37) ..... Terminal 1 ...... $ ./alljoyn-daemon

snap_networks ( 2014-06-02 23:21:30 -0800 )edit

Terminal 2... $ ./SinkService ..... AllJoyn Library build info: AllJoyn Library v0.0.1 (Built Tue May 27 14:23:28 UTC 2014 by snap - Git: alljoyn.git branch: 'master' tag: 'v14.02' (+262 changes) commit ref: 70e6fc1905dd847b8bdc3b4d5940b237b3f20ffb)

snap_networks ( 2014-06-02 23:26:16 -0800 )edit

AllJoyn Audio build info: AllJoyn Audio v0.0.1 (Built Tue May 27 14:28:31 UTC 2014 by snap - Git: audio.git branch: 'master' tag: '<none>' commit ref: bdb70e475b6c51b8381e47c23e749051fda588b5)

snap_networks ( 2014-06-02 23:26:26 -0800 )edit

Linux Machine #2 (192.168.5.67)...... Terminal 1 ....... $ ./alljoyn-daemon

snap_networks ( 2014-06-02 23:26:54 -0800 )edit

18.248 ****** ERROR NETWORK JoinS-2 ...mon/os/posix/Socket.cc:219 | Connecting (sockfd = 57) to 192.168.5.37 9955: 113 - No route to host: ER_OS_ERROR 18.248 ****** ERROR TCP JoinS-2 ...outer/TCPTransport.cc:2813 | TCPTransport::Connect(): Failed: ER_OS_ERROR

snap_networks ( 2014-06-02 23:27:12 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-06-01 21:20:21 -0800

Seen: 222 times

Last updated: Jun 02 '14