Error while running 'audio' services on Linux

asked 2015-05-28 02:32:27 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi, I was trying to use Alljoyn 'audio' service on x86 based Linux platform.I am able to build binaries for audio service.I got 'SinkClient' & 'SinkService' in /audio/bin directory.To test these binaries I am running 'SinkService' in one terminal and 'SinkClient' in another terminal.So this is able to perform bus attachment but I am getting errors while passing commands in 'SinkClient' binaries like 'open'.

So here I am giving logs which I got during execution process.

1. For SinkService $ ./SinkService

Logs :- ./SinkService AllJoyn Library version: v14.6.0 AllJoyn Library build info: AllJoyn Library v14.6.0 (Built Thu May 28 06:30:37 UTC 2015 by umesh - Git: alljoyn.git branch: 'v14.06' tag: 'v14.06' (+0 changes) commit ref: ad3804992d6af7ccb456d90b1ee0019c15f11d99) AllJoyn Audio version: v0.0.1 AllJoyn Audio build info: v0.0.1 (Built Thu May 28 06:31:03 UTC 2015 by umesh - Git: audio.git branch: 'master' tag: '<none>' commit ref: 93a6bdc0e52b5ddb2e5c80e65e2ada353b555abe) Accepting join session request from :b6HeawJw.13 (opts.proximity=ff, opts.traffic=1, opts.transports=fe7f) SessionJoined with :b6HeawJw.13 (id=-1917944558) Link timeout has been set to 20s 54.930 ** ERROR ALLJOYN_AUDIO AudioOutput src/AudioSinkObject.cc:643 | Buffer underrun at 1432804469714308747: ER_WARNING</none>

For SinkClient

$ ./SinkClient a2002011001-e02.wav

Logs : - AllJoyn Library version: v14.6.0 AllJoyn Library build info: AllJoyn Library v14.6.0 (Built Thu May 28 06:30:37 UTC 2015 by umesh - Git: alljoyn.git branch: 'v14.06' tag: 'v14.06' (+0 changes) commit ref: ad3804992d6af7ccb456d90b1ee0019c15f11d99) AllJoyn Audio version: v0.0.1 AllJoyn Audio build info: v0.0.1 (Built Thu May 28 06:31:03 UTC 2015 by umesh - Git: audio.git branch: 'master' tag: '<none>' commit ref: 93a6bdc0e52b5ddb2e5c80e65e2ada353b555abe) Found ":b6HeawJw.7" :b6HeawJw.7 objectPath=/Speaker/In, sessionPort=10000 open Found ":b6HeawJw.14" :b6HeawJw.14 objectPath=/Speaker/In, sessionPort=10000 SinkAdded: :b6HeawJw.14 25.114 * ERROR ALLJOYN_AUDIO AddSink src/SinkPlayer.cc:406 | JoinSession failed: ER_ALLJOYN_JOINSESSION_REPLY_FAILED SinkAddFailed: :b6HeawJw.7 ope available commands: open, close, play, pause, volume, mute, quit open 58.044 * ERROR ALLJOYN_AUDIO external src/SinkPlayer.cc:464 | Stream.Open() failed: ER_BUS_REPLY_IS_ERROR_MESSAGE</none>

So please go through those logs and try to help.

Thanks & Regards, Umesh Agrawal

edit retag flag offensive close merge delete