Good day.
Please clarify the case:
- what WCS build do you use?
- how do you publish a stream: WebRTC, RTMP, captured RTSP or RTMP stream from other server?
- how do you play the stream: via WebRTC, RTMP, HLS, RTSP?
- what is the stream parameters: resolution, FPS, bitrate?
- what is the stream publishing source: webcam, screen sharing?
Usually, stream freezes due to publisher or player channel issues, when stream resolution/bitrate does not fit to the channel bandwidth, or there is packets loss.
Please try to reduce stream publishing resolution (for example, from 1080p to 480p) an bitrate (for example, from 2500 kbps to 1000 kbps). Also, please try to use another network to publish/play a stream, for example, use Wi-Fi instead of mobile network, or wired connection instead of Wi-Fi.
You can switch to TCP publishing/playback to prevent packet loss:
Code:
session.createStream({
name: streamName,
display: localVideo,
cacheLocalResources: true,
receiveVideo: false,
receiveAudio: false,
transport: "TCP"
...
}).publish();
Code:
session.createStream({
name: streamName,
display: localVideo,
transport: "TCP"
...
}).play();
I have tried these settings and set the bitrate settings as mentioned below in the flashphoner properties. Resolution is: 1280x720. But stream getting blurred while watching the live stream.
webrtc_cc_min_bitrate = 1500
webrtc_cc_max_bitrate = 2000