#sailfishos-push log for Friday, 2014-08-01

kimmoliat least some pipes work in windows too;  mosquitto_sub -h devaamo.fi -t sailfish/kimmoli/# -u kimmoli_read -P x | ..\eSpeak\command_line\espeak -v fi05:45
kimmoliOT: espeak builds on phone, but does not directly provide audio out. ./espeak --stdout kissa | gst-launch-0.10 -v fdsrc ! wavparse ! audioconvert ! alsasink05:50
tbrthat's probably due to audio policy05:57
tbrthe same hack as for SIP audio should work05:59
tbrthat would btw also work to make a caller name announcer06:01
tbryou'd need to look up the number in the addressbook though as it's not sent over dbus06:02
tbrcaller name06:02
tbrthe number is06:02
* tbr plays with QoS06:02
coderustbr: what hack btw?06:12
tbrcoderus: you can add an application to the pulseaudio config, but only works for the speaker06:13
tbrthe proper way is to use audio policy etc06:13
tbrquoting as I can't copy a link to the comment:06:15
tbrFYI if someone wants to test/work with the calling, DISCLAIMER following might break things and even though the workaround described enables incoming audio the underlying routing implementation is for the SIP part utterly broken and incomplete (means for example you wont get audio from earpiece)06:15
tbrAppend following to /etc/pulse/xpolicy.conf06:15
tbr[stream]06:15
tbrexe = voicecall-manager06:15
tbrgroup = call06:15
tbrThen either restart phone or restart pulseaudio.service and you'll get incoming audio with SIP call.06:15
kimmolispeak dat notfications :) http://pastebin.com/CXUM7sD106:20
tbr:)06:25
coderuskimmoli: use dbus-monitor with interface=something set06:48
kimmolii use what i get first working...06:49
kimmolioptimisations are overrated06:49
coderus:D06:49
kimmolipiping mosquitto to espeak was actually nice. now i can "say things" with my desktop-pc by typing them on mqtt-test-app on phone. Only ÄÖ seems to say something like aa-tilde07:01
tbrutf8 problem07:16
kimmoliyep07:18
kimmolichaging app to sen in Latin1 seems to with espeak, although printout in command prompt is broken still07:53
kimmolimeant to say, changing app to send in Latin1 seems to work with espeak, although printout in command prompt is still broken07:54
tbrhmm, losing subscriptions on reconnect, this bad. need to fix that08:14
*** tbr has quit IRC11:20
*** tbr has joined #sailfishos-push11:22
*** Stskeepz is now known as Stskeeps11:55
*** Stskeeps has joined #sailfishos-push11:56
*** Stskeeps has joined #sailfishos-push11:56
tbrjust pushed some changes15:19
tbrnow it has a custom notification category which gets an proper icon and working led, sound and vibra feedback! \o/15:20
Stskeepswp15:21
Stskeepswoop15:21
tbrI'm not happy with the reliability yet. Despite setting QoS 2 it seems to lose things. Not sure why15:21
tbrneed to look into that and this illusive "keepalive" thing15:23
tbrI'd then want to move on to working on making this more of an generic service though.15:25
tbrI want to enable TLS, that will mean installing certificates and moving to port 8883.15:25
tbrThen I'd like to add some sort of app specific encryption. Maybe simply a pre-shared key. I'm very much open to hear about best practices and ideas here. Getting privacy right is important from the start.15:27
tbrthat encryption though might better be realized as "library" or "plugin", that way the push service itself is completely encryption agnostic and just provides a reasonably secure TLS layer in both directions (or a HTTPS API)15:32

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!