logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
aircooled76@gmail.com  
#1 Posted : Wednesday, September 4, 2019 5:36:49 PM(UTC)
aircooled76@gmail.com

Rank: Advanced Member

Groups: Registered
Joined: 8/15/2013(UTC)
Posts: 43
Man
Australia
Location: Could be Australia could be Sweden!

Was thanked: 2 time(s) in 2 post(s)
My "simple but impossible mission" is to play the last two events remotely via the Web API.

Using the ReplayPlayEventsByID or ReplayPlayEventsByIDTo Output I can play multiple events by sending the command:

Code:
x.x.x.x:8088/api/?Function=ReplayPlayEventsByIdToOutput&Value=000,002


However, there is no way to get the information via the API of what the last event ID was (that I can find) So this is not usefull.


I thought a relatively easy fix would be to enable the ReplayPlayEvent and ReplayPlayEventToOutput to take more than one value.

Quote:
x.x.x.x:8088/api/?Function=ReplayPlayEventToOutput&Value=0,1


Vola... last two events played!

This should not break existing functionality and hopefully is fairly easy to implement. Or we could add a "PlayLastEvents" and "PlayLastEventsToOutput" shortcut.

(or we could add info on the last event ID to the web API)

Code:
<replay live="True" recording="True" events="1" cameraA="1" cameraB="1" speed="1">
<timecode>2019-09-04T08:50:03.589</timecode><lasteventid>003</lasteventid>
</replay>
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.