2021
04-27
04-27
Android手机通过rtp发送aac数据给vlc播放的实现步骤
截屏AudioRecord音频采集privatevalsampleRate=mediaFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)privatevalchannelCount=mediaFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT)privatevalminBufferSize=AudioRecord.getMinBufferSize(sampleRate,if(channelCount==1)CHANNEL_IN_MONOelseCHANNEL_IN_STEREO,AudioFormat.ENCODING_PCM_16BIT);runInBackground{audioRec...
继续阅读 >