library and sample to access to UVC web camera on non-rooted Android device
3.02k
stars
1.21k
forks
source link
Hi,Sorry, I don't quite understand what you said. Can you ask how it was solved at the time? Create a new MediaAudioEncoder constructor (4 parameters), then the muxer in handleStartRecording() also needs to create 2 new ones? The listener is the same as 2? #434
I think You can close this issue too.
The solution is pretty simple :
new MediaAudioEncoder(mMuxer_left, mMuxer_right, mMediaEncoderListener, mMediaEncoderListener2); (rest is obvious - create new MediaAudioEncoder constructor, so the VideoEncoder can still call the original one, and change every muxer related code in MediaEncoder.java of course with a new constructor too.)
mMediaEncoderListener2 is just for getting the outputpath of the second muxer.
Now the dual camera records audio and video, only one video has audio and video, the other has only 2 seconds to have images, all behind are black screen
Hi,
I think You can close this issue too. The solution is pretty simple : new MediaAudioEncoder(mMuxer_left, mMuxer_right, mMediaEncoderListener, mMediaEncoderListener2); (rest is obvious - create new MediaAudioEncoder constructor, so the VideoEncoder can still call the original one, and change every muxer related code in MediaEncoder.java of course with a new constructor too.)
mMediaEncoderListener2 is just for getting the outputpath of the second muxer.
Originally posted by @pricsko in https://github.com/saki4510t/UVCCamera/issues/29#issuecomment-171112382