The game was launching and subscribing to Dolby.io Real-time Streaming with the stream name we configured from the editor. In the above example, the credentials were configured in the Media Source, but we could not change them directly from the game. Be careful and assign the one you already created. Assign it by clicking one component and go into the right hand panel. In the dialogue window, select actor.Īdd it in your world (by dragging and dropping,it is not visible when the game is playing) and double click on it.Īdd the Director and subscriber component.īoth components need the instance of the MillicastMediaSource object. To do all this, first create a blueprint class. MillicastSubscriberComponent: this object subscribes to the WebRTC stream by using the WebSocket URL and the JWT.MillicastDirectorComponent: this object is used to authenticate to Dolby.io Real-time Streaming using the credentials you provided in the Dolby.io Real-time Streaming media source and get the WebSocket URL and JWT.To do that, the two important components are: To do something really simple, the game will subscribe to Dolby.io Real-time Streaming when it starts playing and unsubscribe when it ends. We will now see how to implement the logic using the blueprint. Then, re-package the game, launch it, and the issue should be fixed. This will force Unreal to include the plugin. If this is the case, create an empty C class in your project. This is because Unreal has excluded the plugin. "Plugin MillicastPlayer could not be load because module MillicastPlayer has not been found" Note: After you package your game, it is possible that you will get an error when launching the game: You are now in the editor and can build your game using MillicastPlayer. You will be prompted to re-build MillicastPlayer plugin. Clone the MillicastPlayer repository: git clone MillicastPlayer.Create a new directory "Plugins" and change to this directory.Go at the root of your project folder (C:\Users\User\Unreal Engine\MyProject).Create a project with the Unreal Engine (UE) editor.You can install the plugin from the source code, using the following steps: Using the Native SDK to Ingest Raw Frames.Adding Captions with Web Captioner to Millicast Viewer.Using Elgato Stream Deck with WebRTC version of OBS Studio.Secure the Millicast Viewer with the API.Secure the Millicast Viewer on your Web Page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |