Good day.
What versions of a WebSDK and WCS do you have installed?
This information can be found in the files:
WCS_HOME/client2/client.version
WCS_HOME/conf/WCS.version
And Java version:
java -version
Ports have been changed for the REST API: port 8081 is now used with http, instead of 9091...
Good day.
The browser sets the currentTime property based on timestamps in video, relative to video playback beginning. This is intended primarily for navigation purposes.
So please clarify what kind of delay you trying to calculate on frontend?
You should wrap publishing code to the function publishStreamFunc()
function publishStreamFunc() {
pubStream = session.createStream(optionsStream).on(STREAM_STATUS.PUBLISHING, function (pubStream) {
...
}).publish();
}
and then call this function from retryToRestart()
function...
We discuss this problem in this topic
You should adopt the example from this post to resume stream publishing, i.e. use STREAM_STATUS.PUBLISHING to check the stream status, move createStream() and publish() calls to separate function to call it when stream goes to FAILED status etc.
Two Way Streaming: https://yourserver:8444/client2/examples/demo/streaming/two_way_streaming/two_way_streaming.html
Media Devices: https://yourserver:8444/client2/examples/demo/streaming/media_devices_manager/media_device_manager.html. This example app displays publishing and playing statistics...
Good day.
We checked your server log. Stream publishing stops by RTP activity timeout, it means client stops sending media data. The possible reason may be device orientation changing (turning from portrait to landscape adn vice versa), in this case iOS Safari stop sending video.
The latest WCS...
Good day.
Please clarify: are you trying to resume stream playback (as in example we provide above) or stream publishing?
In theory, it should work, but we did not test stream publishing auto resume. In this case, you should use corresponding stream status to check if it is published...
Good day.
Unfortunately, we did not receive your logs by email. You can place logs on any resource and send us a URL link to download.
To solve problems with a stream ("Experiencing a lot of disconnections after 30-63 seconds"), use WebRTC stream publishing over TCP.
WebRTC over TCP usage is...
Good day.
You need to create SDP settings files, then restart server as described in another topic here.
Try streaming your content as RTSP instead of RTMP.
To a stream described in the email ,we raised an internal ticket (WCS-2067) to check and fix this issue.
Good day.
You can modify Player example to automatically restart a stream playback:
var retryToRestartTimeout = 3000; //ms
var addMilesecondsToRestartTryOnEveryFailed = 1000; //ms
var retryMaxTimes = 100;
var retryCount = 0;
var isManualStopped = false;
...
function playStream() {
...
Добрый день.
после записи трансляций, WCS больше не занимается управлением этим контентом. Далее всеми данными, организацией, хранением и обработкой контента занимается пользователь.
какой дополнительный функционал вы хотели бы видеть в WCS?