Developer Posted February 20 Share Posted February 20 When I set create broadcast in autostart.. this error has occured.. I have also camera in Laptop.. "message": { "success": false, "message": "Auto start query needs an IP camera or stream source.", "dataId": null, "errorId": 0 } Link to comment Share on other sites More sharing options...
0 lastpeony Posted February 20 Share Posted February 20 autostart is only for ip camera, playlist or stream source. If your broadcast is Live Stream it wont work. Link to comment Share on other sites More sharing options...
0 Developer Posted February 20 Author Share Posted February 20 @lastpeonyBut I am doing this with API... kindly tell me what is meant by stream url? Link to comment Share on other sites More sharing options...
0 Developer Posted February 20 Author Share Posted February 20 @lastpeonyHow can I do this dynamically? bcz I am doing this with API.. Link to comment Share on other sites More sharing options...
0 Yash Posted February 20 Share Posted February 20 @Developer If you want to pull any external Stream URL like HLS stream, RTSP or RTMP then you can use Stream Source and start broadcast API only works with the above types as mentioned by @lastpeony. If you would like to publish the WebRTC stream from browser then it is not doable with Rest API because publishing the stream on a server is a manual process. Please check the documentation on resources.antemdia.io. Link to comment Share on other sites More sharing options...
0 Developer Posted February 20 Author Share Posted February 20 @YashSo If I am backend( Node JS Developer) so I can only create stream but not start the stream.. Am I right? Link to comment Share on other sites More sharing options...
0 Developer Posted February 20 Author Share Posted February 20 @YashThe Stream is start from frontend like React or Angular.. Right? Link to comment Share on other sites More sharing options...
0 Yash Posted February 20 Share Posted February 20 @Developer Yes, you are right. You can start publishing the stream from your front end application. You can check Ant media server sample web pages to publish the WebRTC stream: https://resources.antmedia.io/docs/sample-tools-and-applications Link to comment Share on other sites More sharing options...
0 Developer Posted February 20 Author Share Posted February 20 @Yashok so I read documentation and I understand that I will provide rtmpUrl from the picture is below: and then React Developer will start stream with this url... Am I right? Link to comment Share on other sites More sharing options...
0 Yash Posted February 20 Share Posted February 20 @Dveloper No, RTMP URL is to publish the RTMP stream using encoder like OBS, VMIX etc. RTMP and WebRTC are two different protocols to publish stream. Check out the following document to learn more about different streaming protocols supported by Ant Media for publishing or playing streams: https://antmedia.io/streaming-protocols-everything-you-need-to-know/ Link to comment Share on other sites More sharing options...
0 Developer Posted February 20 Author Share Posted February 20 @YashIf I send these data as a object( picture below) and also send https://media.qplatform.xyz:5443 so then react developer will start stream on a web browser right? Link to comment Share on other sites More sharing options...
0 Developer Posted February 20 Author Share Posted February 20 @YashIf I am wrong .. so guide me that what kind of data React developer need to start broadcast in web browser? Link to comment Share on other sites More sharing options...
Question
Developer
When I set create broadcast in autostart.. this error has occured.. I have also camera in Laptop..
Link to comment
Share on other sites
Top Posters For This Question
8
3
1
Popular Days
Feb 20
12
Top Posters For This Question
Developer 8 posts
Yash 3 posts
lastpeony 1 post
Popular Days
Feb 20 2023
12 posts
Posted Images
11 answers to this question
Recommended Posts