# Can I replace Stream Media URL at runtime?

**URL:** <https://forums.unrealengine.com/t/can-i-replace-stream-media-url-at-runtime/1911943>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [June 21, 2024, 8:28pm UTC](https://forums.unrealengine.com/t/can-i-replace-stream-media-url-at-runtime/1911943 "2024-06-21T20:28:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [June 22, 2024, 7:49pm UTC](https://forums.unrealengine.com/t/can-i-replace-stream-media-url-at-runtime/1911943/2 "2024-06-22T19:49:02Z")

</div>

Hey there @BridgetHooks! Welcome to the community! There might be a workaround by updating the media texture itself as referenced in this post:

> [@Failed to set media texture to a media texture which is from "Construct object from class"](https://forums.unrealengine.com/t/failed-to-set-media-texture-to-a-media-texture-which-is-from-construct-object-from-class/401551/13):
>
> I spawn multiple media players in my Sandbox game so I think I’ve figured this one out; it seems that when you set the source of the media player, the media texture seems to loose it’s link to the media player; so when it’s trying to read data it simple has no “media player” to read data / frames from. The solution is to force an update of the underlying media texture resource, but it requires some C++. In your xxx.build.cs make sure you have the “MediaAsset” dependancy: PublicDependencyModul…

Hope this helps!

---

_[View the full topic](https://forums.unrealengine.com/t/can-i-replace-stream-media-url-at-runtime/1911943)._
