Removal of Camera1Base.setMicrophoneMode in 2.5.2 #1691
replicant1
started this conversation in
General
Replies: 1 comment 1 reply
-
Hello, Sorry for late response. I'm on holidays In version 2.5.5 you can remove the method because the timestamp calculation was improved but you have 2 ways to calculate it now: setTimestampMode(timestampModeVideo = TimestampMode.CLOCK, timestampModeAudio = TimestampMode.BUFFER) CLOCK is used by default in both, video and audio, and BUFFER is a way to calculate the timestamp depend of the buffer information and could be better in fews cases. I recommend you test it and use the best for your case. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Pedro,
I have been calling
rtmpCamera1.setMicrophoneMode(MicrophoneMode.SYNC)
in my code for some time. But I see that thesetMicrophoneMode
method has been removed in RootEncoder2.5.2
. Now that I am using RootEncoder2.5.5
, what would you suggest I call instead ofsetMicrophoneMode(MicrophoneMode.SYNC)
?Thanks for your time.
Rod Bailey
Beta Was this translation helpful? Give feedback.
All reactions