Hello!
Please, specify from what source you publish the video stream?
Such problems can arise when there is a lack of bandwidth.
Please check the loss statistics by playing your stream using the standard example "Media Devices"
Also, to improve the quality of the picture, you can enable transport via TCP and reduce the bitrate
For transport protocol at the browser side by specifying options when playing a stream.
Code:
session.createStream ({
name: streamName,
display: localVideo,
transport: "TCP"
}). on (STREAM_STATUS.PLAYING, function (stream) {
...
}). play ();
More:
docs.flashphoner.com
The bitrate setting must be lowered on the side of your RTSP camera or RTMP encoder.
If you use a stream capture from an RTSP camera, you can set the setting in the flashphoner.properties file
Code:
periodic_fir_request = true
More:
docs.flashphoner.com
If you are using stream capturing from RTMP encoder, try setting a regular keyframe interval in the encoder settings, for example 2 seconds