But can’t find the guide to do this.
Hi, we haven’t documented it yet as we wanted to come up with an easier solution.
If you want to try the existing way:
First configure the application in engine that you use to transcode your stream with this push module:
and
When you are with editing the PushPublishMap.txt you need to copy informations from WSC > Advanced > Stream Targets and select the Stream Target named like your Livestream
Wowza Streaming Cloud:
Target Name
Your StreamTarget
Provider
Akamai
Target Location
US West
Stream Name
[STREAMNAME]_[ANGLEID]_[BITRATE]@[STREAMID]
Target Username
[USERNAME]
Target Password
[PASSWORD]
Primary URL
rtmp://p.ep[STREAMID].i.akamaientrypoint.net/EntryPoint
Backup URL
rtmp://b.ep[STREAMID].i.akamaientrypoint.net/EntryPoint
Adobe HDS Playback URL
http://[HOST]-lh.akamaihd.net/z/[STREAMNAME]_[ANGLEID]@[STREAMID]/manifest.f4m
Apple HLS Playback URL
http://[HOST]-lh.akamaihd.net/i/[STREAMNAME]_[ANGLEID]@[STREAMID]/master.m3u8
On Wowza Streaming Engine in the PushPublishMap.txt enter one line per transcoded stream quality you want to send to a Stream target:
MyStream_720p={"akamai.streamId":"[STREAMID]","originalTimecodeThreshold":"0x100000","userName":"[USERNAME]","password":"[PASSWORD]","sendStreamCloseCommands":"true","streamName":"[STREAMNAME]_[ANGLEID]_[BITRATE]","profile":"rtmp-akamai"}
MyStream_480p={"akamai.streamId":"[STREAMID]","originalTimecodeThreshold":"0x100000","userName":"[USERNAME]","password":"[PASSWORD]","sendStreamCloseCommands":"true","streamName":"[STREAMNAME]_[ANGLEID]_[BITRATE]","profile":"rtmp-akamai"}
MyStream_360p={"akamai.streamId":"[STREAMID]","originalTimecodeThreshold":"0x100000","userName":"[USERNAME]","password":"[PASSWORD]","sendStreamCloseCommands":"true","streamName":"[STREAMNAME]_[ANGLEID]_[BITRATE]","profile":"rtmp-akamai"}
MyStream_288p={"akamai.streamId":"[STREAMID]","originalTimecodeThreshold":"0x100000","userName":"[USERNAME]","password":"[PASSWORD]","sendStreamCloseCommands":"true","streamName":"[STREAMNAME]_[ANGLEID]_[BITRATE]","profile":"rtmp-akamai"}
The only values that change per line are MyStream_720p and [BITRATE] both infos from the engine transcoder preset.
If you want to send to the Backup EntryPoint please use:
MyStream_720p={"akamai.streamId":"[STREAMID]","originalTimecodeThreshold":"0x100000","userName":"[USERNAME]","password":"[PASSWORD]","sendStreamCloseCommands":"true","streamName":"[STREAMNAME]_[ANGLEID]_[BITRATE]","profile":"rtmp-akamai","akamai.sendToBackupServer":"true"}
Some side notes:
Make sure encodings served there are always:
-
Frame resolution and bitrates must be divisible by 8
-
Keyframe distanced forced to 2 seconds (only do a Passthrough if your source stream is compliant (then follow keyframes otherwise reencode everything and force keyframes accordingly to your framerate)
-
From one bitrate to another there should not be too much room (x1.8 max)
-
All streams should be H264 / AAC
-
Streams contain proper metadata
Now you can start the Livestream from engine by starting it in the Application and you do not need to press the start button in the Wowza Streaming Cloud UI.
Unfortunately Stream Targets are not available for Trial Cloud Users but require at least a Pay as you Go Subscription.
Thanks Philipp