I am a Node.js Developer and I am using APIs to create Live stream in ant media server dashboard... But the issue is how can I start live stream in browser.. I think it is responsibility of frontend dev to start livestream in browser.. Right?... If yes so what kind of data frontend dev need to start stream in browser... plz help me..
Question
Dveloper
I am a Node.js Developer and I am using APIs to create Live stream in ant media server dashboard... But the issue is how can I start live stream in browser.. I think it is responsibility of frontend dev to start livestream in browser.. Right?... If yes so what kind of data frontend dev need to start stream in browser... plz help me..
Output:
{
"success": true,
"message": "Stream has been created",
"data": {
"streamId": "hmcb1OxirdAs1678357856170",
"status": "created",
"playListStatus": null,
"type": "Stream Source",
"publishType": null,
"name": "Tester203",
"description": null,
"publish": true,
"date": 1678357856170,
"plannedStartDate": 0,
"plannedEndDate": 0,
"duration": 0,
"endPointList": null,
"playListItemList": null,
"publicStream": true,
"is360": false,
"listenerHookURL": null,
"category": null,
"ipAddr": null,
"username": null,
"password": null,
"quality": null,
"speed": 0,
"streamUrl": null,
"originAdress": "172.31.47.136",
"mp4Enabled": 0,
"webMEnabled": 0,
"expireDurationMS": 0,
"rtmpURL": "rtmp://172.31.47.136/WebRTCAppEE/hmcb1OxirdAs1678357856170",
"zombi": false,
"pendingPacketSize": 0,
"hlsViewerCount": 0,
"dashViewerCount": 0,
"webRTCViewerCount": 0,
"rtmpViewerCount": 0,
"startTime": 0,
"receivedBytes": 0,
"bitrate": 0,
"userAgent": "N/A",
"latitude": null,
"longitude": null,
"altitude": null,
"mainTrackStreamId": null,
"subTrackStreamIds": [],
"absoluteStartTimeMs": 0,
"webRTCViewerLimit": -1,
"hlsViewerLimit": -1,
"dashViewerLimit": -1,
"subFolder": null,
"currentPlayIndex": 0,
"metaData": "",
"playlistLoopEnabled": true,
"updateTime": 0
}
}
Link to comment
Share on other sites
Top Posters For This Question
3
1
Popular Days
Mar 9
3
Mar 10
1
Top Posters For This Question
Dveloper 3 posts
usama 1 post
Popular Days
Mar 9 2023
3 posts
Mar 10 2023
1 post
Popular Posts
usama
Hi,By starting the live stream in browser Do you mean to play and publish the live stream from the browser ? if yes please refer this documentation https://antmedia.io/docs/guides/developer-sd
Dveloper
@usamathanks bro
3 answers to this question
Recommended Posts