Audio/video sync issues #1560
Replies: 2 comments 4 replies
-
Hello, This is really difficult to say.
This is recommended in most of cases but currently pixel 9 seems to have a problem to detect cameraId. This was reported today in other issue so I recommend you wait until this is solved.
Normally the sync out is related with the timestamp of the video/audio frames. This device could have a problem where the timestamp is not correctly calculated for some reason.
This could happens but normally the problem should be in the encoder (this library), the server or the player.
One important thing is know if the out of sync is from the start of the stream or it is increasing with the stream time. With this we can focus in one of this cases. Also, record a local file could help. Since it is a timestamp issue, the problem should happens in a local file and we can discard other external cases. |
Beta Was this translation helpful? Give feedback.
-
Hi Pedro, I have managed to get a recording from the user of the Pixel 9. The videos were over the 10 MB video file size limit so I have zipped them. Attached are 3 videos:
As can be seen, the first video file that was saved on the users Pixel 9 with RootEncoder looks to be ok when playing back. With that said, MediaInfo shows the video has The FLV files appears to be messed up. VLC on Mac doesn't like it very much. The audio plays but the video is frozen. Perhaps there is something else that might stand out to you here? |
Beta Was this translation helpful? Give feedback.
-
Hi Pedro,
I have a very general question for you. We have a user that is experiencing problems with audio and video being way out of sync when they are streaming with our app. Our app uses
RootEncoder 2.4.5
andRtmpCamera1
. The user has aGoogle Pixel 9
runningAndroid 14
. We are at a bit of a loss as to where to even start in diagnosing the problem.RtmpCamera2
API to try and address this?RootEncoder
that thePixel 9
is exposing?Any advice you could provide would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions