ViveMediaDecoder icon indicating copy to clipboard operation
ViveMediaDecoder copied to clipboard

RTSP communication not fluent

Open alco6 opened this issue 6 years ago • 4 comments

Hello,

I am trying to use the ViveMediaDecoder.
I am able to see the RTSP streaming, however the lag is not constant. When it is playing it is stuck during 5 seconds ( more or less) and after that, everything is reproduced at a high speed. It looks like it is waiting during the buffering time and later everything is being played at a higher speed. Is there a way to solve that? or at least to have a constant lag?

Thanks

alco6 avatar Nov 08 '18 14:11 alco6

Hi, you could check the config file and modify the buffer size. Thanks.

kyo8568131 avatar Nov 09 '18 03:11 kyo8568131

Hi, I have just tried several values of the buffer and there is no change... the problem persists. It looks like during the first 3 seconds it is stopped, and in the 3 following seconds the video is played at a double speed, this behavior is being repeated all the time.

There are other factors involved in the config file like USE_TCP or SEEK_ANY, I have been changing them but without any success.

Thanks

alco6 avatar Nov 14 '18 15:11 alco6

Seems like decode per frame time is longer than play time. Since this plugin decodes with CPU, decoding time might be a problem. You could check the RTSP connection or try other smaller video or reduce bitrate, etc. Thanks.

kyo8568131 avatar Nov 15 '18 02:11 kyo8568131

Hello, alco6

I want to use RTSP function, but I can't. because I don't know much about codes in ViveMediaDecoder and Unity. (I'm just beginner) So, Can you tell me how to use that function, even if it doesn't work well?

Thanks.

hwangjw7084 avatar Mar 13 '19 11:03 hwangjw7084