Canvas streaming error

Damidu

New Member
Hello,
i'm using flashphoner with AWS correctly when stream my video on Youtube.
I'm trying now to add some text on the video following this:
https://habr.com/en/company/flashphoner/blog/568682/

Copying and pasting the code ther i'm receiving this error TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': At least one of audio and video must be requested.

can you help?

regards,
Davide
 

Damidu

New Member
Hello, I found that this was because I used an old version of flashphoner. Including the following it start working:
Code:
<script type="text/javascript" src="https://flashphoner.com/downloads/builds/flashphoner_client/wcs_api-2.0/current/flashphoner.js"></script>
Meanwhile I'm having another problem.
Now I can stream my canvas and see it by the "embed player".
But when I try to use the API to send to YouTube it doesn't works. Youtube stream seems "inactive".

If I send video instead of "customStream: canvas.captureStream(60)" it works.
Any suggestion?

regards,
Davide
 
Top