DISCLAIMER: This video is boring to the average YouTube viewer.
How do you make a voice transmission from Android to PC?
Can you hear me? The speaker is VincPlayG (VGamerLP), alias Vincent from Germany. Thanks for the test saying, good job.
We use the examples from the manufacturer Embarcadero (Mobile Snippets / PlayAudioFile etc.). On an Android, we take on the sound. This data is sent via UDP to the PC. On the PC, everything is put back together. The data is stored in the directory QuarkCube among the documents. With a driver for sound, from a previous episode, we can listen to the data. The concept was to divide the recording into several small pieces. Of course it is expandable. We show the basics, we show how to do it.
Keys: System.Generics.Collections, IdGlobal, FMX.Media, TBytes, TIdBytes, TMediaPlayer, TIdUDPServer, TList, IOUtils, TMemoryStream, Write, Read, TFloatAnimation, TRectangle, TIdUDPClient, TAudioCaptureDevice, Format, TCaptureDeviceManager, TCaptureDeviceManager.Current.DefaultAudioCaptureDevice, Assigned, Host, Port, Fill.Color, TAlphaColors, Repaint, TCaptureDeviceState, StopCapture, StartCapture, TPath, GetHomePath, GetDocumentsPath, DirectorySeparatorChar, ForceDirectories, SendBuffer, Send, IndyTextEncoding_UTF8, SetLength, Position, LoadFromFile, SaveToFile, System.Move, Pos, Result, $IFDEF ANDROID, $ELSE, $ENDIF, Repeat, Until, Lines.Add, FreeAndNil