when I try to use live streaming functionality, the video frame is black and loading forever
It’s looks like you’ve created your first live ! Well done
You have to send your live with an encoder, such as OBS : https://obsproject.com/, it’s a free software. Then you can see your live.
so does users of my web will have to install that encoder?
I want users only to use my app and with one button click they can start the live
No, it’s only you. You have to developp your application and allow the user to create a live streaming you can find the informations here : https://docs.api.video/5.1/live/create-live-stream
When you developpe your application, you can used in background OBS to encode the live streaming.
but how my users can create live stream if they did not install OBS?
I am trying to figure out this live stream thingy …
Is there any way to make a live stream based just on the Webcam data or Screen share (without DBS - for example) ?
You could push your RTMP stream via ffmep but it depends, what would you like to do exactly?
May I ask why OBS is not an option?