-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Voice messages #4433
Voice messages #4433
Conversation
3e52d2f
to
da7a136
Compare
- Added voice message button - voice recording UI state
… links. Working audio file sending and cancellation.
…wer levels from audio recorder.
… mode and real time waveform.
da7a136
to
3130fd5
Compare
Riot/Modules/Room/VoiceMessages/VoiceMessageAudioRecorder.swift
Outdated
Show resolved
Hide resolved
…ceProvider that prevents simultaneous playback from multiple player instances.
667d590
to
1b90b25
Compare
…mpling caching layer.
…ixed completionCallback storage so they take the requestedNumberOfSamples into account.
…ue and fixed completionCallback storage so they take the requestedNumberOfSamples into account." This reverts commit 9a3d26e.
…ack to deployment target 11.0.
…sing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account."" This reverts commit cf884c6.
79bb35d
to
ec33ec8
Compare
Riot/Modules/Room/VoiceMessages/VoiceMessagePlaybackController.swift
Outdated
Show resolved
Hide resolved
Riot/Modules/Room/VoiceMessages/VoiceMessageMediaServiceProvider.swift
Outdated
Show resolved
Hide resolved
Riot/Modules/Room/VoiceMessages/VoiceMessageAudioRecorder.swift
Outdated
Show resolved
Hide resolved
|
||
func recordWithOuputURL(_ url: URL) { | ||
|
||
let settings = [AVFormatIDKey: Int(kAudioFormatMPEG4AAC), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not an issue, but as an audio nerd it bothers me that this records to a lossy format rather than lossless when it's going to be converted to another lossy format immediately before sending. 🤓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talked about this privatelly and decided to try to only switch the container format when converting, using opus here.
… to DateFormatters for formatting durations, sanitising audio player durations and current times.
c644895
to
0ead60f
Compare
Will there be a possibility for Matrix servers to refuse that message type to conserve storage space? I'm honestly not keen on receiving any audio from people who are too lazy to type or unwilling to use voice recognition to accommodate for their laziness. |
fix #4090, fix #4091, fix #4092, fix #4094, fix #4095, fix #4096
Added initial voice messages implementation:
Notes: