I am trying to use the Push Publisher Addon with liverepeater-edge applications.
I have looked at the forum threads and have tried the following setup:
Application origin with liverepeater-origin
Application edge with liverepeater-edge with PushPublish module
/content/origin.stream with rtmp://url/origin/_definst_/livestream
Im using streammanager to start this stream in liverepeater type.
I can view the stream from the edge just fine. rtmp://url/origin; stream: origin.stream -> this works fine
I see the stream being pushed to CDN as origin.stream - can i get the original streamname from the origin here before pushing to CDN so I can keep the same name ? (livestream).
I want to be able to use it here: publisher.setDstStreamName(original stream name from the .stream file)
I can do it by actually reading the file, but is there another way? since im sure wowza will need to read the actual rtmp:// in the file anyways
Also, when I add this to startupstreams.xml to autostart, how I can check if the origin.stream at that point is pointing to a working stream and not blank ?
I dont want to constantly hammer the CDN trying to push nothing (the startupstreams.xml is firing the onpublish even when the origin is not streaming anything)