Flashphoner error

When we playing recorded rtsp video we are getting following error

Uncaught (in promise) TypeError: Cannot set properties of null (setting 'muted')
at flashphoner.js:13277
 

Max

Administrator
Staff member
Good day.
Please clarify the following:
  • WCS version
  • Web SDK version
  • What example do you use for testing: Player, Stream Recording etc? If you're using your custom code, is the problem reproducing in web application examples shipped with WebSDK?
 

Max

Administrator
Staff member
Web Call Server 5
Please clarify what WCS build you're using. See /usr/local/FlashphonerWebCallServer/conf/WCS.version file.
Yes it is reproducible whenever we tried to play recorded video rtsp URL
Player example is intended to play streams from server, not files. You can play recordings as VOD however, but:
1. You should place a recording file to /usr/local/FlashphonerWebCallServer/media folder, for example
1637284533671.png

2. You should set a special URL in Stream field, for example
Code:
vod://bunny360p.mp4
1637284356679.png

HTTP URLs are not supported in this case.
You can play recording files in browser directly by URL https://wcs:8444/client/records/file.mp4
 

Max

Administrator
Staff member
Then, clarify how exactly do you test: what stream name do you set to Stream field in Player example? Note that you cannot play a file this way, as we mentioned above. You can play only WebRTC stream, RTSP stream or RTMP stream.
 
We are getting the RTSP or HLS url through our rest services for recorded video and we are trying to play it as we do with Live RTSP.
 

Max

Administrator
Staff member
We are getting the RTSP or HLS url through our rest services for recorded video and we are trying to play it as we do with Live RTSP.
You can play recording files in browser directly by URL https://wcs:8444/client/records/file.mp4, but not as HLS or live RTSP.
 

Max

Administrator
Staff member
It was working earlier with same sample application
What application do you mean? Please provide the link, the application code, the RTSP URL to test using this form
is there any other ways we can achieve this i.e instead of player example
You can play all the recorded streams either in browser directly (if the files are in /usr/local/FlashphonerWebCallServer/records folder) by URL https://wcs:8444/client/records/recorded-file.mp4 or as VOD (if the files are copied to /usr/local/FlashphonerWebCallServer/media folder) by a special stream name vod://recorded-file.mp4.
 

Max

Administrator
Staff member
Pulling HLS (using for playback HLS URL for a stream published not on the WCS) is not supported. External stream can be pulled as RTMP or RTSP.
Stream published on WCS can be played as HLS.
 
Top