This content has been marked as final.
Show 2 replies
-
1. MediaOutput for displaying stream of byte[] images
ilya_shaikovsky Apr 20, 2011 5:12 AM (in response to urska)that's not proper way to implement streaming. setting interval=1 for poll means that you will send ajax request every millisecond. but that request will be processed about 20-50 milliseconds in better case. And you should also consider that mediaoutput also uses assync requests to load it's data. so your server just overloaded with different requests using that code.
-
2. MediaOutput for displaying stream of byte[] images
urska Apr 20, 2011 5:36 AM (in response to ilya_shaikovsky)So then I should not use any Ajax components here, but turn to JavaScript with setInterval or sth like that to refresh the component with image? Or is there some other library that would take care of automatic reloading (refreshing) of components or image containers?