To Use Live Streaming Services
Below are the API set developer can use our Live Videos Streaming Services.
Last updated
Below are the API set developer can use our Live Videos Streaming Services.
Last updated
Contact Us:
On Discord© Copyright 2022 Pandolab Pte Ltd. All rights reserved.
Below are the API used to create Job to live stream video using webrtc.
POST
https://testnet.rtservices.pandoproject.org/apis/liveServer
This case we are streaming through Web(end to end streaming to safeguard the video, voice, & text data transmitted over the internet between peers).
Name | Type | Description |
---|---|---|
Step -1: Below are the API used to create Job to live stream video using RTMP/RTSP.
POST
https://testnet.rtservices.pandoproject.org/apis/liveServer
Create job for LiveStream
we will get Url and session key in response.
Step-2 : To Get RTmp url for Streaming
we used url and session key from step-1 Api
GET
Url/getStreamInfo?sessionKey=
This api provide RTmp url which is needed for OBS streaming
Positive Response
Step-3 : To Get Token and set expiry date of token and type
GET
Url/getToken?sessionKey=&expiryDate=&type=publish
Step-4 : To Stream video
Download OBS studio.
Click on Setting .
Click on start streaming ....
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
purposeCode*
4
Puspose code "4" set for Enterprise services
liveApp*
WEB_RTC
it should be "WEB_RTC" in case of Webrtc streaming
isVOD
true/false
if user wants video on demand then stream save in RTpro
purposeCode*
4
Puspose code "4" set for Enterprise services
liveApp*
RTMP
Type of service user use RTMP/RTSP
liveStream*
true
it should be true in case of LiveStream
ipCamera
false
its mandatory to fill only case when streaming through Camera
streamSource
false
its mandatory to fill only case when streaming through stream url
isVOD
true/false
if user wants video on demand then stream save in RTpro
sessionKey*
String
Session key which recived from step -1
sessionKey
String
Recived from step-1
expiryDate*
1689398242
This field set expiry of token before expiry we can stream videos in epoch time /unix
type*
Publish/Play
Publish for Broadcasting
Play for watching