SRS Player is a video streaming player, supports HLS/HTTP-FLV/WebRTC etc.
First, you should get your own video streaming server. Highly recommend to Create SRS Droplet by 1-Click.
Then, publish live streaming by OBS to your server, you should be able to play the stream by VLC, please follow the tutorial
Next, visit your WordPress, install this plugin, and create a post with the following shortcodes, please follow the tutorial:
- For HLS:
[srs_player url="https://your_server_ip/live/livestream.m3u8"]
- For WebRTC:
[srs_player url="webrtc://your_server_ip/live/livestream"]
- For HTTP-FLV:
[srs_player url="https://your_server_ip/live/livestream.flv"]
You could also use WebRTC to publish live stream:
- For WebRTC:
[srs_publisher url="webrtc://your_server_ip/live/livestream"]
If you are stuck, please get help from discord
You could specify options, for example, to limit the HLS:
[srs_player url="https://your_server_ip/live/livestream.m3u8" width="720"]
The options of SRS player:
url
: The url to play, supports HLS, HTTP-FLV and WebRTC, please see Usage.width
: (Optional) The width to limit the video, it's not required.
Winlin, 2022