I’m trying to use the Push Publish API to send a stream from one Wowza server to a Wowza live origin server, which will then distribute the stream to edge servers, and I want to know if it’s possible to dynamically determine details about the server that’s pushing the stream from a custom module on the edge server.
So, the scenario looks something like this:
Server A --push publish--> Server B --liverepeater--> Server C
And I’d like to be able to figure out details (e.g. ip, port) of Server A from Server C, just based on the IMediaStream object. Is there any way to do this? I tried to get details via IMediaStream.getClient(), but the client is null on Server C (I guess because of how liverepeater works?). I also tried setting a query string on the stream before publishing, but this doesn’t seem to propagate beyond Server B, and I also tried adding metadata to the stream, but I couldn’t figure out how to get this to work.
Any help would be appreciated. Thank you.