Jump to content
  • 0

Collaboration with frontend to start livestream..


Dveloper
 Share

Question

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

3 answers to this question

Recommended Posts

 Share

×
×
  • Create New...