Step 1: Use FFMpeg to push rtmp stream and webRTC stream to SRS separately. When pushing webRTC stream, use FFMpeg's metaRTC plugin.
Step 2: Access port 8080 and modify the webRTC address for playback.
Expect
The expected latency for video playback using webRTC streaming is lower than that of video playback using RTMP streaming, because when streaming with RTMP, the transcoding process in SRS takes approximately 150ms. However, in reality, the latency for webRTC streaming is mostly consistent with that of RTMP streaming, and sometimes even higher.
Description
Please description your issue here
SRS Version: 4.0-r4
SRS Log:
RTMP push SRS log
WebRTC push SRS log
Replay
Please describe how to replay the bug?
Step 1: Use FFMpeg to push rtmp stream and webRTC stream to SRS separately. When pushing webRTC stream, use FFMpeg's metaRTC plugin.
Step 2: Access port 8080 and modify the webRTC address for playback.
Expect
The expected latency for video playback using webRTC streaming is lower than that of video playback using RTMP streaming, because when streaming with RTMP, the transcoding process in SRS takes approximately 150ms. However, in reality, the latency for webRTC streaming is mostly consistent with that of RTMP streaming, and sometimes even higher.
TRANS_BY_GPT3