Hello
We recently updated Flashphoner to version 5.2.1070
The publish video stream still working with no issues.
But after the update, subscribing to play a video stopped working via WebRTC. HLS is still working.
We spent a lot of time debugging, checking what was different in our code and demo pages (WebSDK).
So we found out that the problem was the "custom" parameter. We use the "custom" param on creating session and creating stream, to validate streams via rest hooks.
But this param is causing some problem for subscribers to watch the video on WebRTC, even if we disable validation hooks at flashphoner.properties, and use default app, and default app config on database.yml.
Without the "custom" param at createSession, works well. But we can not use rest hooks to validate streams on our backend.
We haven't found any examples on the demo pages using param custom, but we can easily modify any example like "Streamer" or "Two Way Streaming" to reproduce the problem. Just changing:
To:
And the video playback stream will not work.
Any advice to fix the issue? May be the "custom" param require some extra config option to work after this update?
We recently updated Flashphoner to version 5.2.1070
The publish video stream still working with no issues.
But after the update, subscribing to play a video stopped working via WebRTC. HLS is still working.
We spent a lot of time debugging, checking what was different in our code and demo pages (WebSDK).
So we found out that the problem was the "custom" parameter. We use the "custom" param on creating session and creating stream, to validate streams via rest hooks.
But this param is causing some problem for subscribers to watch the video on WebRTC, even if we disable validation hooks at flashphoner.properties, and use default app, and default app config on database.yml.
Without the "custom" param at createSession, works well. But we can not use rest hooks to validate streams on our backend.
We haven't found any examples on the demo pages using param custom, but we can easily modify any example like "Streamer" or "Two Way Streaming" to reproduce the problem. Just changing:
session = Flashphoner.createSession({urlServer: url})
To:
session = Flashphoner.createSession({urlServer: url, custom:"anything"})
And the video playback stream will not work.
Any advice to fix the issue? May be the "custom" param require some extra config option to work after this update?