Stream Issue

Max

Administrator
Staff member
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:

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:

If you are using stream capturing from RTMP encoder, try setting a regular keyframe interval in the encoder settings, for example 2 seconds
 

Max

Administrator
Staff member
You do not have keyframe interval set in OBS. Please enter a value of 2 sec.

You have specified a channel for the publisher, and the problem is in the download channel between the server and the subscriber. Therefore, we recommend enabling TCP transport for the subscriber, for example:
Code:
session.createStream({
        name:streamName,
        display:localVideo,
        transport:"TCP"
    }).on(STREAM_STATUS.PLAYING,function(stream){
    ...
    }).play();
 

smartbet

New Member
You do not have keyframe interval set in OBS. Please enter a value of 2 sec.

You have specified a channel for the publisher, and the problem is in the download channel between the server and the subscriber. Therefore, we recommend enabling TCP transport for the subscriber, for example:
Code:
session.createStream({
        name:streamName,
        display:localVideo,
        transport:"TCP"
    }).on(STREAM_STATUS.PLAYING,function(stream){
    ...
    }).play();
Ok thank you very much
 
Top