...
A REST-query should be HTTP/HTTPS POST request as follows:
- HTTP: http://test.flashphoner.com:90918081/rest-api/rtsp/startup
- HTTPS: https://test.flashphoner.com:88888444/rest-api/rtsp/startup
Where:
- test.flashphoner.com - is the address of the WCS server
- 9091 8081 - is the standard REST / HTTP port of the WCS server
- 8888 8444 - is the standard HTTPS port
- rest-api - is the required part of the URL
- /rtsp/startup - REST-method to use
...
- user is user name
- p@ssword is password with character '@', it is escaped in URL.
Known issues
1. A stream containing B-frames does not play or plays with artifacts (latencies, lags)
Symptoms:
- a stream sent by the IP camera via RTSP does not play or plays with latencies or lags
- warnings in the client log:
Code Block | ||||
---|---|---|---|---|
| ||||
09:32:31,238 WARN 4BitstreamNormalizer - RTMP-pool-10-thread-5 It is B-frame! |
Solution: request lower resolution video from the camera to avoid using B-frames or transcode that stream.
2.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
5. Connection to the IP camera is lost on error in any track (audio or video)
...
Code Block | ||||
---|---|---|---|---|
| ||||
rtsp_fail_on_error_track=false rtp_force_synchronization=true |
3. AAC frames of type 0 are not supported by decoder and will be ignored while stream pulled playback
In this case, warnings will be displayed in the client log:
Code Block | ||||
---|---|---|---|---|
| ||||
10:13:06,815 WARN AAC - AudioProcessor-c6c22de8-a129-43b2-bf67-1f433a814ba9 Dropping AAC frame that starts with 0, 119056e500 |
4. 6. All the characters in a stream name, that are not allowed in URI, should be escaped
...
Code Block | ||||
---|---|---|---|---|
| ||||
rtsp://hostname/c%40%40lstream/channel1 |
7. Some IP cameras do not support cnonce
field in RTSP connection message header.
Symptoms: RTSP stream is played with VLC, but is not played with WCS.
Solution: set the following parameter in flashphoner.properties file
Code Block | ||||
---|---|---|---|---|
| ||||
rtsp_auth_cnonce= |
with empty value.