If you're unable to watch the CSS and have no idea what goes wrong with it, you can identify the cause of the problem in a short time by following the steps below:
First of all, check whether the playback URL is correct. An incorrect URL is the most likely cause of most problems. Tencent Cloud's CSS URLs include push URL and playback URL. You need to first verify whether the push URL is accidentally used CSSas the playback URL.
Playback URL for Mini CSS:
The playback URL for Mini CSS can be obtained through debugging. You can search for the keyword startPlay in the global search, then set a debugging breakpoint, where the RTMP SDK is called by Mini CSS. The parameter startPlay is the playback URL.
A correct playback URL does not always mean a normal playback. Next, you need to check whether the video stream is normal:
A frequently used solution is making a check using VLC, an open-source player on PC that supports many protocols.
If there's no problem with the video stream, then you need to check whether the player is normal on a case-by-case basis:
If RTMP SDK DEMO works normally for playback, it's recommended to check whether the interfacing logic is incorrect by referring to the RTMP SDK playback document [iOS] & [Android].
It is common that the corporate network environments of many customers restrict video playback through firewalls that detect whether the resources requested by HTTP are streaming media resources (After all, no boss wants his employees to watch videos during working hours). The fact that you can watch the CSS normally over 4G network but cannot watch it over your company's Wi-Fi network indicates your company has imposed restrictions on the network policies. In this case, contact the administrator for a special treatment of your IP.
If the CSS URL does not work and there is no possibility of firewall blocking described in Step 4, it is likely that the push is unsuccessful. Go to Why the Push is Unsuccessful for a further troubleshooting.