Methods: info | list | create | update | record | delete | restream
Get information about Live, 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> <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> <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> <Recordings> <Item> <Title>Promo recording</Title> <Code>xxxxxxxx</Code> <Type>video</Type> <Width>640</Width> <Height>352</Height> <MediaStatus>Done</MediaStatus> <Duration>5</Duration> <PlayerCode>&lt;iframe width=&quot;{{width}}&quot; height=&quot;{{height}}&quot; src=&quot;https://play.boomstream.com/xxxxxxxx&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; allowfullscreen&gt;&lt;/iframe&gt;</PlayerCode> <DownloadLink>https://bs.boomstream.com/balancer/hash:6a3ef95256df7b0cfa24dcbf9002d211/xxxxxxxxx.orig</DownloadLink> <Poster> <Code>hh1VIHbe-a1</Code> <Width>352</Width> <Height>640</Height> <Url>https://bs.boomstream.com/balancer/hh1VIHbe-a1.jpg</Url> </Poster> <Transcodes> <Item> <Code>hh1VIHbe-H63Th2OK</Code> <Title>240p</Title> <Width>132</Width> <Height>240</Height> <PseudoMP4>https://bs.boomstream.com/balancer/hh1VIHbe-H63Th2OK.mp4</PseudoMP4> <AppleHLS>https://bs.boomstream.com/balancer/hh1VIHbe-H63Th2OK/playlist.m3u8</AppleHLS> </Item> <Item> <Code>hh1VIHbe-5SQ8X51e</Code> <Title>360p</Title> <Width>198</Width> <Height>360</Height> <PseudoMP4>https://bs.boomstream.com/balancer/hh1VIHbe-5SQ8X51e.mp4</PseudoMP4> <AppleHLS>https://bs.boomstream.com/balancer/hh1VIHbe-5SQ8X51e/playlist.m3u8</AppleHLS> </Item> </Transcodes> <Adaptive> <AppleHLS>https://bs.boomstream.com/adaptive/hh1VIHbe/playlist.m3u8</AppleHLS> </Adaptive> <Screenshots> <Item> <Code>hh1VIHbe-a1</Code> <Width>352</Width> <Height>640</Height> <Url>https://bs.boomstream.com/balancer/hh1VIHbe-a1.jpg</Url> </Item> <Item> <Code>hh1VIHbe-a2</Code> <Width>352</Width> <Height>640</Height> <Url>https://bs.boomstream.com/balancer/hh1VIHbe-a2.jpg</Url> </Item> <Item> <Code>hh1VIHbe-a3</Code> <Width>352</Width> <Height>640</Height> <Url>https://bs.boomstream.com/balancer/hh1VIHbe-a3.jpg</Url> </Item> <Item> <Code>hh1VIHbe-a4</Code> <Width>352</Width> <Height>640</Height> <Url>https://bs.boomstream.com/balancer/hh1VIHbe-a4.jpg</Url> </Item> <Item> <Code>hh1VIHbe-a5</Code> <Width>352</Width> <Height>640</Height> <Url>https://bs.boomstream.com/balancer/hh1VIHbe-a5.jpg</Url> </Item> </Screenshots> </Item> </Recordings> <Status>Success</Status> </Response>
Get Live list.
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> <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> <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> <Recordings/> </Item> </Lives> <Status>Success</Status> </Response>
Add new Live.
Input parameters
Required parameters:
Optional parameters:
Output parameters
Sample query:
https://boomstream.com/api/live/create?apikey=[API_KEY]&title=temp
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> <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> <Status>Success</Status> </Response>
Update Live parameters
Input parameters
Required parameters:
Optional parameters:
Output parameters
Sample query:
https://boomstream.com/api/live/update?apikey=[API_KEY]&code=xxxxxxxx&title=temp
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> <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> <Status>Success</Status> </Response>
Live 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>
Deleting media-files
Input parameters
Required parameters:
Sample query:
https://boomstream.com/api/live/delete?apikey=[API_KEY]&code=xxxxxxxx
Sample response:
<Response> <Status>Success</Status> </Response>
Point server for multistreaming
Input parameters
Required parameters:
Optional parameters:
Output parameters
Sample query:
https://boomstream.com/api/live/restreaming?apikey=[API_KEY]&code=xxxxxxxx&server=2&enable=true&server_url=rtmp:///input.com&login=[LOGIN]&password=[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> <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> <Status>Success</Status> </Response>