-
Notifications
You must be signed in to change notification settings - Fork 0
技术细节
Ziyan Zhou edited this page Dec 9, 2017
·
6 revisions
See livebox project. Will post more detail later.
See blog post.
This section describes how to setup live stream FMS on AWS. This should be done right before the event to avoid paying hourly high fee.
Follow the instruction here: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/LiveStreamingAdobeMediaServer5.0.html
Use the links here to create the full stack in the desired region. Singapore seems to have the least issues. http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AMS5.0CreatingLiveStreamingStack.html
Things that needs to be done on the FMS server via SSH:
- Remember to edit /mnt/webroot/crossdomain.xml to allow viewing from "*". This needs to be done before cloudfront caches the file. Otherwise, you need to invalidate the cache.
- The bitrate settings are here: /mnt/applications/livepkgr/events/definst/liveevent/Manifest.xml
Things that needs to be done on the client:
- There is some XML config that need to be changed (very important, otherwise the live stream always resume from the top) http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AMS5.0FlashMediaLiveEncoder.html
- The stream name should be: livestream%i?adbe-live-event=liveevent&adbe-record-mode=record
- H.264 settings need to change to 4s keyframes