start a remote recorder specifying the owner user
Hello everybody
I’m searching a way via API to start/stop a recording using a remote recorder (wolfvision cynap) on behalf of another user.
What I would like to do is use an admin account to start a recording on a remote recorder installed in a classroom but setting as owner the teacher that is making the lesson.
I know that there is a method called UpdateSessionOwner, but it change the owner of a recording already stored on Panopto. I would like to start the recording with a different owner from the one is using the API method.
Thanks in advance
Mirko (University of Milan)
Best Answer
-
Kevin Baum Panopto Employee
Hi Mirko,
You can use the IRemoteRecorderManagement.ScheduleRecording method to start a recording at the current time, or scheduled for a few seconds before the current time. This would have the same effect as starting an instant recording, and Panopto should start that recording immediately, if there is not another scheduled recording for that recorder that is currently conflicting. That method will return the session ID as well.
You should be able to update the owner while the session is recording.
In addition, you can use the IRemoteRecorderManagement.UpdateRecordingTime method to change the end time of the scheduled recording when the teacher clicks on the
STOP
button to be the current time, which should also immediately end the recording.I hope that this helps. Please let me know if you have any other questions.
Thanks,
Kevin
1
Answers
Hi Mirko,
You should be able to use the UpdateSessionOwner endpoint to change the owner of a video that is scheduled or in progress and recording, as long as you have the session ID that the scheduled recording is using.
Are you starting the recording directly from the hardware, and if so, do you have a way to get the session ID? If you're creating the scheduled recording using the API as well, then the session ID should be returned to you in the response to the ScheduleRecording API endpoint.
I hope this helps, but please let me know if you have any questions.
Thanks,
Kevin
Hello Kevin
thanks a lot for your answer.
The recordings are not scheduled. The teacher starts the recording using a button on the classroom control touchpanel. We have to add code to the button in order to start the recording process.
With the API is there a method to start an instant recording without scheduling it?
If this method exists and returns the sessionID, as you wrote, it could be possible to change the owner with the recording in progress.
Following the process I would like to implement
is it possible?
Bye
Mirko
Good news Kevin! Thanks a lot!
We will try and let you know!
Best!
Mirko
Hello Kevin
The solution you suggested has one issue: if I change the owner of the recording started through a Cynap Remote Recorder, then Cynap is not able to upload the recording to Panopto because changing the owner generate a new sessionID (not update on Cynap) and it seems that for this reason Panopto does not accept the upload. Is that possible?
It could be great if "IRemoteRecorderManagement.ScheduleRecording" would accept an additional parameter like "record on behalf of", used to specify to which user connect the recording.
Do you think it's possible to add this parameter? (I would really need it to let fnally our classroom works fine)
Thanks in advance
Mirko
Hi Mirko,
Calling the UpdateSessionOwner endpoint should not result in a new session ID, but should only update the existing session information. Is that function returning a different session ID, or did you mean the entire workflow from above, including the call to ScheduleRecording results in a new ID?
As for adding a new parameter, I don't know that we would want to pursue that with the ScheduleRecording call. Setting or changing the owner to someone other than the user who creates the session is limited to administrators only, and the ScheduleRecording endpoint is meant to be used by anyone who is a creator.
Please let me know if you're seeing a different session ID from calling UpdateSessionOwner, or if it's just the issue that there are two recordings created (one by the Cynap Remote Recorder, and one if you're manually calling ScheduleRecording).
Thanks,
Kevin
Hi Kevin
Thanks a lot for your prompt answer.
I forward it both to wolfvision develpers and to system integrator developers and I will let you know
Best!
Mirko