Joao Paulo De Luca
New Member
Hey guys,
I'm developing the streaming video to our standard application using the Flashphoner WebSDK.
Everything was looking ok, but, at certain point, we are concerned of a problem with the snapshot() and I'm 2 days looking for a solution.
I'm developing the streaming video to our standard application using the Flashphoner WebSDK.
Everything was looking ok, but, at certain point, we are concerned of a problem with the snapshot() and I'm 2 days looking for a solution.
Code:
[I][B]session
.createStream({
name: name,
cacheLocalResources: false
})
.on(STREAM_STATUS.SNAPSHOT_COMPLETE, function(stream) {
console.log('>>>>>>>> snapshot method on STREAM_STATUS.SNAPSHOT_COMPLETE stream.getInfo()', stream.getInfo().substring(0, 253))
setSnapshotStatus(STREAM_STATUS.SNAPSHOT_COMPLETE);
... // code goes on
}).on(STREAM_STATUS.FAILED, snapshotFailedHandler)
.snapshot()[/B][/I]
[CODE]
Basically is the same from the documentation. The point is: that works fine in any Huawei cellphones (Chrome 79+). Everytime when I push the snapshot button, the new preview image comes. But, with some Samsung Galaxy and iPhones (both using Chrome 79+), the first snapshot goes OK, but the second snapshot returns the exactly same previous stream.getInfo(). When I push again, the second image comes and that goes on.
Theres some reason for that? Theres some solution?
Thanks in advice and sorry my bad english. Working in progress.
J.P.
Last edited: