Methods: info | list | create | update | record | toggle | delete
Get information about ip camera, using it's code.
Input parameters
Required parameters:
Output parameters
Sample query:
https://boomstream.com/api/live/info?apikey=[API_KEY]&code=xxxxxxxx
Sample response:
<Response> <Title>Promo</Title> <Code>xxxxxxxx</Code> <OnlineStatus>True</OnlineStatus> <RecordStatus>True</RecordStatus> <Concurrent>10</Concurrent> <CreationDate>2015-01-29 15:05:58</CreationDate> <StartAt/> <Timezone>Europe/Kiev</Timezone> <Type>camera</Type> <PlayerCode><iframe width="{{width}}" height="{{height}}" src="https://boomstream.com/player.html?code=xxxxxxxx" frameborder="0" scrolling="no"></iframe></PlayerCode> <Poster> <Code>xxxxxxxx-m3</Code> <Width>1920</Width> <Height>1080</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-m3.jpg</Url> </Poster> <Screenshots> <Item> <Code>xxxxxxxx-m3</Code> <Width>1920</Width> <Height>1080</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-m3.jpg</Url> </Item> </Screenshots> <CameraUrl>rtsp://11.122.133.144:555/mpeg4</CameraUrl> <CameraIsActive>true</CameraIsActive> <Status>Success</Status> </Response>
Get list of streams.
Input parameters
Required parameters:
Output parameters
Sample query:
https://boomstream.com/api/live/list?apikey=[API_KEY]
Sample response:
<Response> <Lives> <Item> <Title>Promo</Title> <Code>xxxxxxxx</Code> <OnlineStatus>True</OnlineStatus> <RecordStatus>True</RecordStatus> <Concurrent>10</Concurrent> <CreationDate>2015-01-29 15:05:58</CreationDate> <StartAt/> <Timezone>Europe/Kiev</Timezone> <Type>camera</Type> <PlayerCode><iframe width="{{width}}" height="{{height}}" src="https://boomstream.com/player.html?code=xxxxxxxx" frameborder="0" scrolling="no"></iframe></PlayerCode> <Poster> <Code>xxxxxxxx-m3</Code> <Width>1920</Width> <Height>1080</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-m3.jpg</Url> </Poster> <Screenshots> <Item> <Code>xxxxxxxx-m3</Code> <Width>1920</Width> <Height>1080</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-m3.jpg</Url> </Item> </Screenshots> <CameraUrl>rtsp://11.122.133.144:555/mpeg4</CameraUrl> <CameraIsActive>true</CameraIsActive> </Item> </Lives> <Status>Success</Status> </Response>
Add new ip camera
Input parameters
Required parameters:
Optional parameters:
Output parameters
Sample query:
https://boomstream.com/api/live/camera_create?apikey=[API_KEY]&title=Ip-camera&url=rtsp://11.122.133.144:555/mpeg4&username=[]&password=[]
Sample response:
<Response> <Title>Promo</Title> <Code>xxxxxxxx</Code> <OnlineStatus>True</OnlineStatus> <RecordStatus>True</RecordStatus> <Concurrent>10</Concurrent> <CreationDate>2015-01-29 15:05:58</CreationDate> <StartAt/> <Timezone>Europe/Kiev</Timezone> <Type>camera</Type> <PlayerCode><iframe width="{{width}}" height="{{height}}" src="https://boomstream.com/player.html?code=xxxxxxxx" frameborder="0" scrolling="no"></iframe></PlayerCode> <Poster> <Code>xxxxxxxx-m3</Code> <Width>1920</Width> <Height>1080</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-m3.jpg</Url> </Poster> <Screenshots> <Item> <Code>xxxxxxxx-m3</Code> <Width>1920</Width> <Height>1080</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-m3.jpg</Url> </Item> </Screenshots> <CameraUrl>rtsp://11.122.133.144:555/mpeg4</CameraUrl> <CameraIsActive>true</CameraIsActive> <Status>Success</Status> </Response>
Update ip camera parameters
Input parameters
Required parameters:
Optional parameters:
Output parameters
Sample query:
https://boomstream.com/api/live/camera_update?apikey=[API_KEY]&code=xxxxxxxx&title=ip-camera&username=[]&password=[]
Sample response:
<Response> <Title>Promo</Title> <Code>xxxxxxxx</Code> <PublishKey>xxxxxxxx</PublishKey> <EncoderLink> https://boomstream.com/api/live/encoder?hash=xxxxxxxxxxxxxxxxx&code=xxxxxxxx </EncoderLink> <OnlineStatus>True</OnlineStatus> <RecordStatus>True</RecordStatus> <Concurrent>10</Concurrent> <CreationDate>2015-01-29 15:05:58</CreationDate> <StartAt/> <Timezone>Europe/Kiev</Timezone> <PlayerCode><iframe width="{{width}}" height="{{height}}" src="https://boomstream.com/player.html?code=xxxxxxxx" frameborder="0" scrolling="no"></iframe></PlayerCode> <Poster> <Code>xxxxxxxx-m3</Code> <Width>1920</Width> <Height>1080</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-m3.jpg</Url> </Poster> <Screenshots> <Item> <Code>xxxxxxxx-m3</Code> <Width>1920</Width> <Height>1080</Height> <Url>https://bs.boomstream.com/balancer/xxxxxxxx-m3.jpg</Url> </Item> </Screenshots> <CameraUrl>rtsp://11.122.133.144:555/mpeg4</CameraUrl> <CameraIsActive>true</CameraIsActive> <Status>Success</Status> </Response>
ip camera recording
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/live/record?apikey=[API_KEY]&code=xxxxxxxx&record=1
Sample response:
<Response> <Status>Success</Status> </Response>
ip camera start or stop broadcasting
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/live/camera_toggle?apikey=[API_KEY]&code=xxxxxxxx&action=stop
Sample response:
<Response> <Status>Success</Status> </Response>
Deleting ip camera
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/live/delete?apikey=[API_KEY]&code=xxxxxxxx
Sample response:
<Response> <Status>Success</Status> </Response>