视频直播 Best Practices

视频直播 Best Practices

AAlliibbaabbaa CClloouudd Alibaba Cloud 视频视直频播 直播 BeBset Psrta Pctricaecstices Document Version: 20210901 Document Version: 20210901 视频直播 Best Pract ices·Legal disclaimer Legal disclaimer Alibaba Cloud reminds you t o carefully read and fully underst and t he t erms and condit ions of t his legal disclaimer before you read or use t his document . If you have read or used t his document , it shall be deemed as your t ot al accept ance of t his legal disclaimer. 1. You shall download and obt ain t his document from t he Alibaba Cloud websit e or ot her Alibaba Cloud- aut horized channels, and use t his document for your own legal business act ivit ies only. The cont ent of t his document is considered confident ial informat ion of Alibaba Cloud. You shall st rict ly abide by t he confident ialit y obligat ions. No part of t his document shall be disclosed or provided t o any t hird part y for use wit hout t he prior writ t en consent of Alibaba Cloud. 2. No part of t his document shall be excerpt ed, t ranslat ed, reproduced, t ransmit t ed, or disseminat ed by any organizat ion, company or individual in any form or by any means wit hout t he prior writ t en consent of Alibaba Cloud. 3. The cont ent of t his document may be changed because of product version upgrade, adjust ment , or ot her reasons. Alibaba Cloud reserves t he right t o modify t he cont ent of t his document wit hout not ice and an updat ed version of t his document will be released t hrough Alibaba Cloud-aut horized channels from t ime t o t ime. You should pay at t ent ion t o t he version changes of t his document as t hey occur and download and obt ain t he most up-t o-dat e version of t his document from Alibaba Cloud-aut horized channels. 4. This document serves only as a reference guide for your use of Alibaba Cloud product s and services. Alibaba Cloud provides t his document based on t he "st at us quo", "being defect ive", and "exist ing funct ions" of it s product s and services. Alibaba Cloud makes every effort t o provide relevant operat ional guidance based on exist ing t echnologies. However, Alibaba Cloud hereby makes a clear st at ement t hat it in no way guarant ees t he accuracy, int egrit y, applicabilit y, and reliabilit y of t he cont ent of t his document , eit her explicit ly or implicit ly. Alibaba Cloud shall not t ake legal responsibilit y for any errors or lost profit s incurred by any organizat ion, company, or individual arising from download, use, or t rust in t his document . Alibaba Cloud shall not , under any circumst ances, t ake responsibilit y for any indirect , consequent ial, punit ive, cont ingent , special, or punit ive damages, including lost profit s arising from t he use or t rust in t his document (even if Alibaba Cloud has been not ified of t he possibilit y of such a loss). 5. By law, all t he cont ent s in Alibaba Cloud document s, including but not limit ed t o pict ures, archit ect ure design, page layout , and t ext descript ion, are int ellect ual propert y of Alibaba Cloud and/or it s affiliat es. This int ellect ual propert y includes, but is not limit ed t o, t rademark right s, pat ent right s, copyright s, and t rade secret s. No part of t his document shall be used, modified, reproduced, publicly t ransmit t ed, changed, disseminat ed, dist ribut ed, or published wit hout t he prior writ t en consent of Alibaba Cloud and/or it s affiliat es. The names owned by Alibaba Cloud shall not be used, published, or reproduced for market ing, advert ising, promot ion, or ot her purposes wit hout t he prior writ t en consent of Alibaba Cloud. The names owned by Alibaba Cloud include, but are not limit ed t o, "Alibaba Cloud", "Aliyun", "HiChina", and ot her brands of Alibaba Cloud and/or it s affiliat es, which appear separat ely or in combinat ion, as well as t he auxiliary signs and pat t erns of t he preceding brands, or anyt hing similar t o t he company names, t rade names, t rademarks, product or service names, domain names, pat t erns, logos, marks, signs, or special descript ions t hat t hird part ies ident ify as Alibaba Cloud and/or it s affiliat es. 6. Please direct ly cont act Alibaba Cloud for any errors of t his document . > Document Version: 20210901 I Best Pract ices·Document convent io 视频直播 ns Document conventions St yle Descript ion Example A danger notice indicates a situation that Danger: Danger will cause major system changes, faults, Resetting will result in the loss of user physical injuries, and other adverse configuration data. results. Warning: A warning notice indicates a situation Warning that may cause major system changes, Restarting will cause business faults, physical injuries, and other adverse interruption. About 10 minutes are results. required to restart an instance. A caution notice indicates warning Not ice: Not ice information, supplementary instructions, If the weight is set to 0, the server no and other content that the user must longer receives new requests. understand. A note indicates supplemental Not e: Not e instructions, best practices, tips, and You can use Ctrl + A to select all files. other content. Closing angle brackets are used to Click Set t ings > Net work> Set net work > indicate a multi-level menu cascade. t ype. Bold formatting is used for buttons , Bold menus, page names, and other UI Click OK. elements. Run the cd /d C:/window command to Courier font Courier font is used for commands enter the Windows system folder. Italic formatting is used for parameters bae log list --instanceid Italic and variables. Instance_ID This format is used for an optional value, [] or [a|b] ipconfig [-all|-t] where only one item can be selected. This format is used for a required value, {} or {a|b} switch {active|stand} where only one item can be selected. > Document Version: 20210901 I 视频直播 Best Pract ices·Table of Cont ent s Table of Contents 1.How do I get started with live streaming outside China? 05 2.Protect live streaming 08 3.Implement instant loading on various clients 09 4.Reduce live streaming latency 10 5.Record live streams 15 6.Live recording 17 7.Audio- or video-only streaming 18 8.How to store live recordings in OSS 20 > Document Version: 20210901 I Best Pract ices·How do I get st art ed 视频直播 wit h live st reaming out side China? 1.How do I get started with live streaming outside China? This topic shows you how to prevent stuttering and network instability when the casters and viewers reside in different countries. Differences between live streaming in mainland China and live streaming outside China Compared with live streaming in mainland China, live streaming outside China has the following requirements: Edge group and live center configurations of live domains and uplink and downlink monitoring When you live stream videos, you must specify appropriate live center and edge group configurations to prevent unstable transmission over cross-border connections and a high stuttering rate. You can monitor the uplink frame rate and bitrate to check the live streaming status of the casters in real time, and collect downlink playback statistics to understand viewing behavior. Qualifications, including Internet Content Provider (ICP) filings for domain names To use a domain name to provide live streaming services for viewers in mainland China, you must apply for an ICP filing for the domain name, regardless of whether the casters reside in or outside China. Features of ApsaraVideo Live for live streaming outside China ApsaraVideo Live allows you to encrypt live streams during live streaming outside China, especially in scenarios in which live streams are ingested and played outside China. ApsaraVideo Live supports adaptive bitrate streaming depending on the network conditions. Adaptive bitrate streaming meets the requirements for long-distance transmission over cross- border connections. ApsaraVideo Live provides a Secure Reliable Transport (SRT)-compliant solution for cross-border live streaming of National Radio and Television Administration (NRTA) regulation-based activities, events, and concerts. Solutions for different scenarios in terms of network connection optimization Both the casters and viewers reside in Hong Kong, Macau, Taiwan, or regions outside China Problem descript ion The viewers are widely distributed around the globe, and your live streaming services cannot reach all of the viewers. The locations of the casters are not fixed. In addition, the network transmission is unstable, and the live streaming quality is poor. Solut ion > Document Version: 20210901 5 Best Pract ices·How do I get st art ed 视频直播 wit h live st reaming out side China? ApsaraVideo Live provides live centers in the Germany (Frankfurt), Singapore (Singapore), and Japan (Tokyo) regions for casters outside China. We recommend that you select a live center that is near to the casters. Then, ApsaraVideo Live can ingest streams to the live center. 1. Configure edge ingest. Alibaba Cloud provides Content Delivery Network (CDN) nodes that cover major countries. ApsaraVideo Live uses edge ingest to deliver streams to the edge nodes that are nearest to the casters.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    22 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us