evgeny-nadymov / telegram-react

Experimental Telegram web client with tdlib, webassembly and react js under the hood
https://evgeny-nadymov.github.io/telegram-react/
GNU General Public License v3.0
2.29k stars 602 forks source link

Can't play Audio files with opus encoding. #255

Open zeinali0 opened 3 years ago

zeinali0 commented 3 years ago

Audio file with opus encoding can't play. the player just freeze. I test it with sharing a voice form WhatsApp. Is there any reason you set type attribute for source of player? because it fix the issue when we remove it.

erayrafet commented 3 years ago

@evgeny-nadymov I can confirm it too. The progress is just stuck at 0:00. image

Also, options like share, copy, and save to music do not show up.

image image

erayrafet commented 3 years ago

@evgeny-nadymov The same problem is there with .m4a audio files as well.

Uncaught (in promise) DOMException: The play() request was interrupted by a new load request. https://goo.gl/LdLk22
File.js:47 [SW] no running SW
File.js:47 [SW] no running SW
File.js:47 [SW] no running SW
File.js:47 [SW] no running SW
evgeny-nadymov commented 3 years ago

Thanks for the investigation. I will return to this task in a week or two when group calls will be completed.