Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Is loading remote content on-the-fly possible?

$
0
0

@Pyroglyph wrote:

I know this isn't really what MonoGame is intended for, but I'd like to stream a video from the web into my game and display it with something like a VideoPlayer. This seems quite difficult to do since ContentManager only seems to be able to load content from the disk and pre-downloading the entire video would take way too long.
Has anyone attempted this or have any ideas about it?
I had one idea which I managed to implement for remote images which was to make a WebRequest and copy the ResponseStream to a MemoryStream buffer which my Texture2D could then use because of it's Texture2D.FromStream() method but I see no such method for Video objects, so that wouldn't work.

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles