The longer I stream the video, the higher the delay

a27259954

New Member
The longer I stream the video, the higher the delay will be, and the delay will return to normal after I PUBLISH again
 

Max

Administrator
Staff member
Good day.
Please clarify your case:
- how do you publish a stream?
- how do you play a stream?
For example, if you're publishing from RTMP encoder and playing as WebRTC in browser, there can be packet losses on players channel. In this case, switching to TCP transport may solve a problem:
Code:
session.createStream({
    name: streamName,
    display: remoteVideo,
    transport: "TCP"
}).on(STREAM_STATUS.PENDING, function (stream) {
...
}).play();
 
Top