How to set up Adobe HDS from an edge server to align live adaptive bitrate streams (RTMP)
- Before you call play on the edge server in your client-side code, use NetConnection.call() to call FCSubscribe and pass in the name of each individual stream included in the multiple-bitrate presentation:
nc.call("FCSubscribe", null, "live_1");
nc.call("FCSubscribe", null, "live_2");
nc.call("FCSubscribe", null, "live_3");
- On the origin server, add the sendOriginalTimecodes property to the <Streams>/<Properties> container in [install-dir]/conf/[application]/Application.xml file (be sure to put the property in the correct <Properties> container as there are several in the Application.xml file):
- You must either use .stream files to point to the origin streams or use the Stream Name Alias AddOn package (using stream aliases, not play aliases) to turn a simple stream name into the full RTMP URL to the origin RTMP stream. For example, with streams myStream_1 and myStream_2 that are hosted at the RTMP URL rtmp://192.168.1.7/live, create the following files:
Then use stream names myStream_1.stream and myStream_2.stream.