divyenduz / languagelearners

LingoParrot - LanguageLearners.club
1 stars 0 forks source link

Audio not playing on all devices #28

Closed divyenduz closed 4 years ago

divyenduz commented 5 years ago

This happens on iOS for sure, most like an issue with ogg and iOS.

We rely on sendVoice which relies on sending an ogg file. We might have to revert to sendAudio as it can use mp3 but its experience was not the best with autorepeat on by default etc.

Docs:

https://core.telegram.org/bots/api#sendvoice https://core.telegram.org/bots/api#sending-files

Good Resources:

https://stackoverflow.com/questions/44615991/how-convert-ogg-file-to-telegram-voice-format

OPUS:

https://github.com/bengo4/cloudtts https://github.com/TooTallNate/node-ogg https://github.com/Rantanen/node-opus

FFMPEG resources:

https://github.com/tommedema/NodeBasicFFmpeg https://github.com/fluent-ffmpeg/node-fluent-ffmpeg https://github.com/mewlips/rust-ffmpeg

All Resources:

https://www.reddit.com/r/TelegramBots/comments/3d1vo7/audio_not_playing_on_all_devices/ https://stackoverflow.com/a/45989359/1366216 https://stackoverflow.com/a/10804200/1366216 https://stackoverflow.com/a/36379991/1366216 https://www.reddit.com/r/Telegram/comments/5uoe3f/what_is_wrong_with_the_voice_message_ogg_files/ https://stackoverflow.com/a/32477973/1366216 https://stackoverflow.com/a/45989359/1366216 https://stackoverflow.com/a/44091532/1366216

divyenduz commented 4 years ago

Closed the exploratory PR but this comment is very relevant https://github.com/divyenduz/LingoParrot/pull/29#issue-261866122

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: