Issues with remote streaming

I’ve been having an issue when remote streaming (which I don’t do very often). It’s happening often enough I feel like it might be a bug. DVR server is running on Synology DS218+. Client is an iPhone on cellular connection.

The issue I often see is that the audio is several seconds behind the video. Everything else is fine. Doesn’t happen every time, and often if I stop the file and restart it the issue doesn’t happen.

This most recent time I looked in the logs and found the errors below referring to unexpected durations in the file.

2020/10/12 15:07:08.258871 [ENC] Starting encoder for Pardon the Interruption 2020-10-08-1729.mpg in /volume1/Channels DVR/Streaming/file2485-d4cc1605214e-216832883/encoder-0-321228342 at 0 (0.000000) (encoder=h264_vaapi, resolution=384, deinterlacer=hardware, bitrate=500 segment_size=0.01)
2020/10/12 15:07:22.487413 [ENC] Segment 19 has unexpected duration: inputs=56-58 expected=1.751756 actual=1.801789 expected_pts=38.916122-40.667878 actual_pts=38.887422-40.672522
2020/10/12 15:07:30.787424 [ENC] Segment 30 has unexpected duration: inputs=89-91 expected=1.401389 actual=1.451433 expected_pts=61.276455-62.677844 actual_pts=61.247744-62.682500
2020/10/12 15:11:41.588456 [ENC] Segment 348 has unexpected duration: inputs=1042-1044 expected=1.451467 actual=1.5015 expected_pts=710.491673-711.943140 actual_pts=710.462978-711.947789
2020/10/12 15:11:49.688394 [ENC] Segment 358 has unexpected duration: inputs=1072-1074 expected=1.985311 actual=2.035378 expected_pts=730.978828-732.964139 actual_pts=730.950100-732.968789
2020/10/12 15:12:27.588533 [ENC] Segment 406 has unexpected duration: inputs=1216-1219 expected=1.918589 actual=1.968622 expected_pts=829.277003-831.195592 actual_pts=829.248311-831.200244
2020/10/12 15:12:34.690708 [ENC] Segment 416 has unexpected duration: inputs=1244-1246 expected=1.868544 actual=1.918588 expected_pts=847.712092-849.580636 actual_pts=847.683389-849.585289
2020/10/12 15:15:29.089088 [ENC] Segment 633 has unexpected duration: inputs=1895-1897 expected=1.9019 actual=1.951967 expected_pts=1292.122734-1294.024634 actual_pts=1292.094011-1294.029289
2020/10/12 15:15:31.889668 [ENC] Segment 637 has unexpected duration: inputs=1907-1909 expected=1.184522 actual=1.234566 expected_pts=1300.314234-1301.498756 actual_pts=1300.285533-1301.503411
2020/10/12 15:15:42.588792 [ENC] Segment 650 has unexpected duration: inputs=1946-1948 expected=1.584922 actual=1.634955 expected_pts=1326.940832-1328.525754 actual_pts=1326.912144-1328.530411
2020/10/12 15:15:54.999538 [ENC] Stopped encoder for Pardon the Interruption 2020-10-08-1729.mpg in /volume1/Channels DVR/Streaming/file2485-d4cc1605214e-216832883/encoder-0-321228342 after encoding 0 to 665

What’s odd is that if I play the same recording locally at original quality I never see the issue. So I’m wondering if there is an issue with the transcoder. Thoughts?