VoxCommando

Help and Support (Using VoxCommando) => Bug Reports => Topic started by: pioneer on March 10, 2016, 08:18:13 PM

Title: AAC stream playback problem
Post by: pioneer on March 10, 2016, 08:18:13 PM
Hi James.
I've encountered a problem with AAC-format audio stream playback. For example, when I try to play an internet radio, VC starts recieving traffic, but won't play the audio. Only a snap comes out in the beginning and there is silence after that. Yet it keeps downloading the audio stream. And even when I stop the playback, it doesn't stop recieving internet-traffic, and the following error comes up in the log (see the screencap). It feels like it can't fill up the buffer in time and thus only makes one short snap. Works fine with mp3 stream.

VC 2.2.1.4
Title: Re: AAC stream playback problem
Post by: jitterjames on March 11, 2016, 08:29:33 AM
Thanks.

We will update the action description to indicate that it should only be used for wav and mp3 streams.

VoxCommando's primary function is not intended to be that of a media player.
Title: Re: AAC stream playback problem
Post by: pioneer on March 20, 2016, 07:55:34 PM
Sound.PlayStream( mp3, 44100 Hz, stereo, 320 kb/s )
-- OK

Sound.StopStream
-- Unexpected error in action: Sound.StopStream

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at eval_g.eval_ᜃ(macroElement A_0, List`1 A_1, Int32 A_2)
   at eval_g.eval_ᜂ(macroElement A_0, List`1 A_1, Int32 A_2)


VC 2.2.1.4
Title: Re: AAC stream playback problem
Post by: nime5ter on March 20, 2016, 08:39:59 PM
There was a known bug with Sound.StopStream. You should upgrade to 2.2.1.6

http://voxcommando.com/mediawiki/index.php?title=ChangeLog#Version_2.2.1.6
Title: Re: AAC stream playback problem
Post by: pioneer on March 21, 2016, 04:45:09 AM
Hi, nime5ter. Ok, thanks.
Title: Re: AAC stream playback problem
Post by: pioneer on March 21, 2016, 09:17:45 AM
Oops  ;)

VC 2.2.1.6

Unexpected error in action: Sound.GetStreamInfo
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at eval_g.eval_ᜂ(macroElement A_0, List`1 A_1, Int32 A_2)
   at eval_g.eval_ᜁ(macroElement A_0, List`1 A_1, Int32 A_2)
Title: Re: AAC stream playback problem
Post by: jitterjames on March 21, 2016, 09:40:11 AM
It's a small bug that I will fix but you can still use this action by sending a dummy parameter.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.7-->
<command id="-1" name="Actions copied from LCB">
  <action>
    <cmdType>Sound.GetStreamInfo</cmdType>
    <params>
      <param>null</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>
Title: Re: AAC stream playback problem
Post by: pioneer on March 21, 2016, 09:49:17 AM
Thanks James.