Läs på engelska Redigera

Dela via


Troubleshooting live events in Microsoft Teams

Anteckning

We're currently still supporting live events. While we still recommend you to upgrade to Teams town halls to take advantage of new features and experiences, your users can continue to schedule events. For more information, see Updates for Town Hall in Microsoft Teams and Teams Live Events.

Viktigt

China: Users located in China won't be able to set up or attend Teams or Viva Engage live events or view videos on-demand because currently, Azure CDN, which these apps rely on, might not be accessible in China.

As an administrator, you might need to set up a VPN to connect your corporate network for these apps to work seamlessly. Once that's complete, people in your organization can schedule and attend live events.

Before a live event

Make sure all events are reachable in your network

General Teams endpoints

Teams requires connectivity to the internet. All endpoints listed on Office 365 endpoints for Teams need to be reachable by users of Teams within your organization's network.

Teams Encoder live events - RMTP ingest endpoints

To get a video feed for a Teams Encoder live event sent to Teams from your encoder, you need the domain name and ports open in your network's firewall:

  • Domains: *.rtmpingest.mcr.teams.microsoft.com
  • Ports: 1935/1936 (for RTMP/RTMPS)

Make sure you have enough upload bandwidth

When producing or streaming a live event via RTMP, it’s possible that the internet upload bandwidth at the site pushing the live stream might not be enough. Low upload bandwidth might result in dropped frames or issues in the live video itself, which might result in playback issues for viewers.

Make sure that your upload speed for the machine and network pushing the live stream is higher than the bitrate you set for the live stream. If you're outputting a 5 Mbps stream from your encoder but your upload bitrate is close to or lower than 5 Mbps, you could run into problems not being able to upload your stream fast enough.

If you have issues with upload bandwidth, here are a few things you can try:

  1. Use a hard-wired ethernet connection for any machine you're pushing the stream from to avoid any drops in WiFi.
  2. Lower the encoding bitrate of your live feed to a value well below your max upload speed.

Preparing your network for many concurrent viewers

Many viewers watch live events, which can strain your network and download bandwidth. It's important to evaluate your network infrastructure and ensure that there's enough bandwidth for viewers within your corporate network. To help reduce internet traffic needed for live events, there are two options:

  1. Configure existing cache proxies within your network to cache videos from Teams.
  2. Use a partner eCDN video delivery solution to optimize video traffic.

Viewers receive the Teams live event's stream via TCP HTTPS. The following URLs should bypass any proxy servers within your environment, and have SSL inspection disabled:

  • *.media.azure.net
  • bmc.cdn.office.net

I can't create a live event

Users require specific permissions in both Microsoft Teams and Viva Engage to create a live event, depending on the service being used.

  1. Verify that your Teams admin enabled you to create live events.

  2. Check with your administrator that you have a valid Teams license that allows you to create live events.

  3. Select Run Tests, which populates the diagnostic in Microsoft 365 admin center to help you validate if a user is able to schedule Teams live events.

Make sure viewers have permission to watch the event

Microsoft Teams live events have a few different roles for permissions on the event itself (organizer, producer, presenter, attendee).

For more information, see Microsoft Teams event group roles.

Producing a live event

I don't know how to set up my encoder

To get started, see Using an encoder for live streaming in Microsoft Teams.

My encoder isn't connecting to the server ingest URL

  • Check that the RTMP URL is correctly entered as the output of your encoder.
  • Check that the RTMP Key is correctly entered as the output of your encoder.
  • Check the status of your internet connection to ensure that your encoder is correctly connected and online.
  • You might have network security or firewall-related settings that might be blocking the output of your connection.
  • Your encoder might not be supported with Teams. Check out the list of tested encoders in Using an encoder for live streaming in Microsoft Teams.

I can't get RTMPs to work

  • Some encoders might support an implementation that Teams doesn't support. Check out the list of tested encoders that work with Teams in Using an encoder for live streaming in Microsoft Teams.
  • Not all encoders or versions support RTMPs. Check with the manufacturer or software creator to see what they support.

I tried to start setup and it's taking a long time

In general, it can take a few minutes to get the setup going before you can start pushing your encoder. If the service is busy, setup may take longer, so we recommended allocating sufficient time before your scheduled live event.

I tried to start setup but there are too many events happening

When starting an event, if you get a message indicating the maximum number of events has been reached, contact a Teams admin. A Teams admin can prioritize your high priority event by stopping others if necessary.

I can't see producer view

  1. It might take a few seconds for the producer preview to appear after you start streaming from your encoder.
  2. Make sure that the encoder is connected to Teams.
  3. It can sometimes help to refresh the page in Teams. You might be asked if you want to leave the page; this doesn't affect your live event.
  4. Some networks might block access to content. Ensure that your network security and firewall settings allow the RTMP protocol and the required domains are in the allowed list. It can help to try to see if it works on a different network environment, independent from a corporate network, VPN, or locked-down network.

My feed looks bad, has poor quality, or is glitchy

  1. Ensure that there's sufficient upload bandwidth from your streaming device. Low bandwidth might result in dropped frames or poor video quality. Upload bandwidth should exceed the streaming bitrate.
  2. Make sure you're using the recommended encoder settings for Teams. See Manually configure encoders for live event streaming in Microsoft Teams for more info.
  3. Verify that the audio/video coming into the encoder doesn't have any issues. Source audio or video feeds sent to the encoder may have issues, leading to a poor viewer experience.
  4. Monitor CPU load on your encoder. Maxing out your CPU could stem from source content or bitrate. Try simplifying overlays/content or lowering streaming bitrate.
  5. Make sure your encoder is up to date. If it's a hardware encoder, ensure you have the latest firmware updates. If it's a software encoder, make sure you're running the latest version.
  6. Try resetting or restarting your encoder. If you do this during a live stream, your viewers see an error during playback while your encoder is restarting. After you restart live streaming from the encoder, viewers must reload the page to get the live stream again.

I ended my live event from my encoder, but viewers are seeing an error

Select Stop event before disconnecting your encoder. If you already disconnected your encoder, you can still select Stop event, but viewers might see an error.

My viewers are seeing issues

  • If a single viewer is reporting an issue, ensure that the viewer has enough bandwidth and is on a good internet connection to watch the event.
  • If multiple people within the same network are having issues, you might be experiencing network congestion related issues. To see if you can identify a solution to your issue, see Scale video delivery and monitor network traffic by using eCDNs with Microsoft Teams.
  • Many times, when multiple viewers are seeing an issue, it's related to the encoder feed.
    • Check that the encoder is properly set to the specifications outlined in the encoder setup, and configured correctly.
    • Ensure that you have enough upload bandwidth to stream. You can try reducing the bandwidth from the encoder output.
    • Sometimes resetting the encoder helps, but note that you must maintain the same settings when reconnected. Audience members might see an error or glitch in the live event.

I, or my viewers, can't hear the video

  1. Check that the encoder is sending audio.
  2. Check that the audio device is plugged in.
  3. If on Windows, make sure the correct audio device is selected and unmuted.
  4. If there was an encoder disruption, some browsers or devices might not be able to recover and play back the audio correctly.

Anteckning

If you've deployed Microsoft eCDN as your video distribution provider for live events, please refer to Troubleshooting eCDN performance issues for more details on troubleshooting the eCDN performance issues you may be experiencing.