Replies: 6 comments
-
Why use WHIP for forwarding between different nodes instead of RTMP: RTMP Feed --> [SRS 1] --FFMPEG via RTMP--> [SRS 2] --> WHEP Player
|
Beta Was this translation helpful? Give feedback.
-
I once try to publish via RTMP with
And it is very consuming the CPU. So to make sure that SRS will not re-transcode the stream again, I try to use ffmpeg to transport the stream directly. Is it anything I miss to config the stream to passthru the re-transcoding process? |
Beta Was this translation helpful? Give feedback.
-
After enabling the
|
Beta Was this translation helpful? Give feedback.
-
It's turn out that my encoding option on the source is not correctly configured in OBS, my bad and I'm sorry. OK, Let me try to start over again. I try to deploy my system as this... Source --RTMP-> [SRS : Origin] --Cluster--> [SRS : Remote] --> Output (WHEP/RTMP) In output, the RTMP works fine, but WHEP does not. Do I have to use ffmpeg to transport stream myself? |
Beta Was this translation helpful? Give feedback.
-
Please do not attempt without preparation; first, consult the documentation at the following URLs: https://ossrs.io/lts/en-us/faq#webrtc-cluster and https://ossrs.io/lts/en-us/docs/v6/doc/edge.
|
Beta Was this translation helpful? Give feedback.
-
The Edge(Remote) mode is specifically designed for live streaming applications. Please ensure it is used correctly and refer to the documentation at https://ossrs.io/lts/en-us/docs/v6/doc/edge for guidance. If you need to forward streams between multiple SRS instances and use WHEP, you can utilize the Forward mechanism, or employ FFmpeg to pull and forward the stream.
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like to ask a question with SRS-Whip
I try to deploy two instance of SRS on two VM
and install ffmpeg build of this git
git clone -b feature/rtc-muxer https://github.com/winlinvip/ffmpeg-webrtc.git
I have to set up Multiple SRS because I can scale multiple SRS-WHEP node to multiple servers and can make load balancing
I deploy as like this Diagram
RTMP Feed --> [SRS 1] --FFMPEG via WHEP--> [SRS 2] --> WHEP Player
RTMP Feed Spec
SRS1 Configuration
FFMPEG Command
SRS2 Configuration
I set the kernel configureation as in https://ossrs.io/lts/en-us/docs/v5/doc/performance#rtc already
The Workflow works all smoothly but after about an hour of streaming on the WHEP Player, but after that it will have stuttered of pictures frames. It is not apply to sound layer, the sound seems fine but not the picture.
What can I do to tune the system to run smoother?
Beta Was this translation helpful? Give feedback.
All reactions