x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Streaming YouTube/Twitch to Unreal MediaFramework

Hello Unreal Community, I was wondering if it is possible to stream YouTube or Twitch livestreams into Unreal Engine's new StreamMediaSource framework.

I have researched that YouTube and Twitch come down to a .m3u8 file which defines a stream, however Unreal doesn't seem to interpret them correctly.

I believe the files would need to be .mp4 and I am wondering if anyone knows a way to get raw .mp4 streams from YouTube or Twitch, if not possible, than any potential workaround way.

This would be most appreciated, thank you very much! :)

Product Version: UE 4.18
Tags:
more ▼

asked Nov 20 '17 at 10:43 PM in Using UE4

avatar image

RealAero
16 3 5 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Ask service providers themselves:

https://developers.google.com/youtube/

https://dev.twitch.tv/

There no way you can do this without properly registering to use there APIs, even if there was away there a chance that the won't like this. First and foremost read the rules if they even allows you to use there service in way you planing to do. So study official documents. You most likely will need to do some C++ coding or maybe use VaRest to do HTTP communication.

more ▼

answered Nov 20 '17 at 11:01 PM

avatar image

Shadowriver
35.9k 928 169 1105

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

For YouTube you can take a look at what VLC does to parse the HTTP responses. This would have to be ported to C++ and integrated into VlcMedia (issue #27). Pull requests welcome :)

more ▼

answered Nov 20 '17 at 11:26 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question