LiveLive

Compute
Elastic Cloud Server
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
Domain Name Service
VPC Endpoint
Cloud Connect
Enterprise Switch
Security & Compliance
Anti-DDoS
Web Application Firewall
Host Security Service
Data Encryption Workshop
Database Security Service
Advanced Anti-DDoS
Data Security Center
Container Guard Service
Situation Awareness
Managed Threat Detection
Compass
Cloud Certificate Manager
Anti-DDoS Service
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GaussDB NoSQL
GaussDB(for MySQL)
Distributed Database Middleware
GaussDB(for openGauss)
Developer Services
ServiceStage
Distributed Cache Service
Simple Message Notification
Application Performance Management
Application Operations Management
Blockchain
API Gateway
Cloud Performance Test Service
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
DevCloud
ProjectMan
CodeHub
CloudRelease
CloudPipeline
CloudBuild
CloudDeploy
Cloud Communications
Message & SMS
Cloud Ecosystem
Marketplace
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP License Service
Support Plans
Customer Operation Capabilities
Partner Support Plans
Professional Services
enterprise-collaboration
Meeting
IoT
IoT
Intelligent EdgeFabric
DeveloperTools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Help Center> Live> Getting Started> Pushing Streams and Streaming Content on a PC
Updated at: Mar 30, 2022 GMT+08:00

Pushing Streams and Streaming Content on a PC

This section describes how to push streams and stream content on a PC using the third-party software.

Prerequisites

  • You have configured an ingest domain name and streaming domain name on the Live console by referring to Adding Domain Names.
  • You have installed a stream push tool. You are advised to use Open Broadcaster Software (OBS). If you have not installed it yet, download and install it.
  • You have installed a media player. You are advised to use VLC media player. If you have not installed it yet, download and install it.

Pushing Streams

  1. Obtain the ingest URL.

    1. Log in to the Live console. In the navigation pane, choose Domains.
    2. Click Manage in the row containing the target ingest domain name. Obtain the ingest URL on the Basic Info page.

      See Figure 1. StreamName is user-defined. An ingest URL example is as follows: rtmp://livepush-test.huaweicloud.com/live/huawei09.

      Figure 1 Ingest URL

      The domain name in the preceding figure is only an example. Use your own ingest domain name.

  2. Run OBS and click Settings in the lower right corner.

  3. On the left navigation pane, choose Output. Set Output Mode to Advanced and Keyframe Interval to 2.

  4. On the left navigation pane, choose Stream and enter the ingest URL obtained in step 1.

    An ingest URL consists of the following two parts:
    • URL: Enter the part from the beginning of the ingest URL to the AppName, for example, rtmp://livepush-test.huaweicloud.com/live/.
    • Stream key: Enter the part from the StreamName to the end of the ingest URL, for example, huawei01.

    The parameter names on the GUI may vary depending on the OBS version, but the rules for configuring the parameters are the same.

  5. Click OK.
  6. Right-click the Sources area, and add a stream source.

    • Media Source indicates local media files.
    • Video Capture Device indicates a camera. If a camera is available on the PC, the camera is directly enabled.

  7. Click Start Streaming in the lower right corner.

Streaming Content

  1. Obtain the streaming URL.

    1. Log in to the Live console. In the navigation pane, choose Domains.
    2. Click Manage in the row containing the target streaming domain name. Obtain the streaming URL on the Basic Info page.

      See Figure 2. StreamName is user-defined and must be the same as the value of StreamName in the ingest URL. Otherwise, the playback fails.

      For example, a streaming URL can be assembled in the following formats:

      • FLV: http://exampletest.huaweicloud.com/live/huawei09.flv
      • M3U8: http://exampletest.huaweicloud.com/live/huawei09.m3u8
      • RTMP: rtmp://exampletest.huaweicloud.com/live/huawei09
      Figure 2 Streaming URL

      The domain name in the preceding figure is only an example. Use your own streaming domain name.

  2. Run VLC.
  3. On the menu bar, choose Media > Open Multiple Files.
  4. In the displayed dialog box, enter the streaming URL obtained in step 1. Click Play.

Helpful Links

If you use your own domain names for livestreaming, you can configure the following functions before using Live:

Did you find this page helpful?

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel