how to get live stream which push by obs?

mc 5,081 Reputation points
2023-04-21T01:25:21.27+00:00

I want to get live stream that obs(obsproject.com) push. how to get the live video stream and send it to users? do not use azure.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,772 questions
{count} votes

Accepted answer
  1. JasonPan - MSFT 6,296 Reputation points Microsoft Vendor
    2023-04-21T14:47:33.1033333+00:00

    Hi @打玻璃,

    In the github repo about nginx media server, it supports HLS and DASH as well as RTMP.

    What I have done now:

    1. Find abc News Channel .m3u8 file.
    2. Push the Stream to stream media server (nginx)
    3. Open the page, then we can play the .m3u8 file. There are some delay in my sample .gif file.

    BlazorApp1

    Summary

    1. We configure the stream url inside the nginx.conf file
    2. Then we can paly the live stream by using html5 video tag, it supports HLS and DASH as well as RTMP
    3. Of course, we can configure 5 live stream apps for using in advance, and then start the nginx server, but if there is a newly added live stream URL that you want to use in the future, then we need to restart the nginx server, which may not be very friendly, it is recommended to consider using the media service in the cloud product.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,

    Jason Pan

    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 71,101 Reputation points
    2023-04-21T15:08:59.7833333+00:00

    you need a broadcasting service. Like YouTube, Facebook, twitch, etc. if you don’t want to use an existing broadcast service, then you will need create one yourself. The number of servers required will depend on how many users you will have.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.