Video stops when using HTTP streaming from browser
AnsweredDear Support team
We want to continue streaming video from web browser using http streaming, but the video stops midway through.
We use this command.
・http://<ID:password>@<IPadress>/media/<cameraID>.mp4?pos=2021-04-07T13:00:00.000
Is there any way to improve it?
Browser settings, coding methods, client PC specs, etc.
The test environment is as follows:
・client.CPU/RAM/Networking state
CPU: 3%
Memory: 21%
Network: 1%
・NxWitness version of mediaserver you are using?
NxWitness Server:5.1.3.38363
NxWitness Client :5.1.3.38363
-
Hi yagi kosuke
The method you're using relies on basic authentication, which generally shouldn't work right away.
However, if you were logged into the WebAdmin through another tab, the system might reuse the token created during that login. These tokens are time-sensitive, so they will expire, which could cause the video to stop sooner than expected.
We recommend using Bearer authentication or creating a dedicated user with Digest Authentication enabled. This way, you can use the chosen authentication method to access the stream through your browser.
Post is closed for comments.
Comments
1 comment