Coder Social home page Coder Social logo

alexaagent's People

Contributors

shin1m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

alexaagent's Issues

memory leaks on playback

EDIT: the reconnecting issue might be my own fault, ignore it.


asio.ssl error, and then segmentation fault

when I leave the program running for a while, it will throw an error:

@session(0x7b82e8) on error: asio.ssl error |
reconnecting...
session(0x7b82e8) created
directives GET(0x82eb20) on close: 2
@session(0x7b82e8) on error: asio.ssl error |
reconnecting...
Segmentation fault

some missing files

in order to compile this project, some changes must be made:
configure.ac
-AC_CONFIG_SRCDIR([alexaagent.cc])
+AC_CONFIG_SRCDIR([main.cc])

and the configuration folder is missing so I have to create a session.json from scratch.

alert/timer won't run if restarts without internet connectivity

according to: https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/reference/timers-and-alarms-conceptual-overview

the product must have the ability to act on previously set timers or alarms if internet connectivity is lost, this works if we keep the alexaagent running. However, it won't check existed alerts when there is no internet.

BTW. When alexaagent starts without a good connection, it should retry until internet recovers.

capture_force & dialog_acquire conflicts

when capture_force is true, i think it means capture should start immediately and current dialog should stop as well. however now it will wait for active dialog ends.

doesn't support playlist URL

When asked for tune-in stations, it will return a URL with content-type of "audio/x-mpegurl", then ffmpeg will fail to play it.

Also, it won't recover from this status. the AudioPlayer.PlaybackFailed event got a 200 response with new directive to play the same URL, repeated again and again, which I think might be a problem of alexa api.

sometimes, I got a segmentation fault with this.

Reproduce with "play economist radio on tune-in", then we got a url:
"http://opml.radiotime.com/Tune.ashx?id=s223220&formats=aac,mp3&partnerId=4JqugguZ&serial=AFPFRQBP3Y34KMJYVH6JHY4YL3UA&latlon=47.631863,-122.34427"
and this URL will return a playlist content.

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.