javacv icon indicating copy to clipboard operation
javacv copied to clipboard

'Packet mismatch' when receiving stream

Open apiatti opened this issue 8 years ago • 7 comments

Basically I set up a video conference tool. Sometimes the receiving part of the streams throws a series of errors as shown below:

[flv @ 0x7fce98b6d400] Packet mismatch -1057119111 7279 2435819 [flv @ 0x7fce98b6d400] Packet mismatch -228249567 1901323 4337142 [flv @ 0x7fce98b6d400] Packet mismatch -236187797 78347 4415489 [flv @ 0x7fce98b6d400] Packet mismatch -1133241869 2064651 6480140

Does anyone have any idea what could be the issue? Video codec used: H264, format FLV. Audio codec used: AAC

apiatti avatar Apr 25 '17 10:04 apiatti

Sounds like network issues?

saudet avatar Apr 25 '17 10:04 saudet

Tried also with an ethernet cable, same error and crash, but rarely...:(

apiatti avatar Apr 25 '17 12:04 apiatti

What do you mean by "crash"? If the connection breaks, simply reconnect.

saudet avatar Apr 25 '17 12:04 saudet

This error is very frequent and don't know which causes it... I am implementing a video conference software, so it is not really easy to 'simple reconnect'

apiatti avatar May 08 '17 09:05 apiatti

anyone found solution for this ?

Rajapolipilli avatar Mar 31 '21 04:03 Rajapolipilli

If I remember correctly, I fixed it by stay connected with a cable instead over wifi. But the root cause of the problem, remains a mystery to me.

apiatti avatar Mar 31 '21 06:03 apiatti

in my situation, this is caused by the **rw_timeout** is too small. the problem disappeared when i set the value grabber.setOption("rw_timeout", "1000000"); or bigger .

kakeelee avatar Aug 07 '23 09:08 kakeelee