Is it ok tu reuse one Video node in SceneGraph for all videos being played back in a channel or should it be recreated for every video? I am talking about mixed content here progressive mp4 and HLS videos.
Maybe this is cleaner cause it cleans some caches or whatever.
i'd be inclined to use different Video node every time (with the clarification that no more than 1 can go at a time). Based on my experience with other components (roNDK?) being throw-away items, it feels to me more "sanitary" with disposables...
So far, I haven't run into problems re-using nodes, even animations. I don't know what the "official" Roku position is, just what's been working for me.
Do what feels right for you. Sometimes global functions/functionality work well and at other times, you simply need more than one video node..a trailer for instance at a different size from the full screen video node. I think what is really important, is write clean codes that can easily be read when adding code or passing it on. Cheers!