Re: Fwd: Re: Hint where to get recordings via webservice

2018-04-11 Thread Maxim Solodovnik
you need "special" url
please check moodle plugin sources:
https://github.com/openmeetings/openmeetings-moodle-plugin/blob/master/mod_form.php#L215

Ps please do not write personal emails ...

WBR, Maxim
(from mobile, sorry for the typos)

On Wed, Apr 11, 2018, 23:20 Stephan Clemenz  wrote:

> Hi Maxim,
>
> I am the guy who is working on the integration for OpenOLAT. The
> integration is nearly complete besides the possibility to show and download
> the recordings of a room. Your hint worked but the answer from the server
> is not that what we need. When I call the generated URL a whole HTML site
> is displayed. What we need (and how it was in the past) is a direct link to
> the mp4 file.
>
>
>
> The integration looks like this:
>
>
>
> Here you get a list of all recordings of a room (works with 4.0). If you
> click on "View" you can view the recording in OpenOLAT (works only on 3.0):
>
>
>
>
>
> Clicking on download the user can download the recording directly:
>
>
>
>
>
> We need this functionality absolutely.
>
>
>
> I did not get very deep in the webservice code of Openmeetings. So I ask
> you if this functionality can be implemented more or less easily?
>
>
>
> Cheers,
>
> Stephan
>
>
>
>
>
> Am Mittwoch, 11. April 2018, 16:39:13 CEST schrieben Sie:
>
> >  Weitergeleitete Nachricht 
>
> > Betreff: Re: Hint where to get recordings via webservice
>
> > Datum: Wed, 11 Apr 2018 21:27:29 +0700
>
> > Von: Maxim Solodovnik 
>
> > Antwort an: dev@openmeetings.apache.org
>
> > An: dev 
>
> >
>
> >
>
> >
>
> > You need to call
>
> > http://openmeetings.apache.org/openmeetings-webservice/
> apidocs/org/apache/op
>
> > enmeetings/webservice/UserWebService.html#getRoomHash-java.lang.String-
> org.a
>
> > pache.openmeetings.db.dto.user.ExternalUserDTO-org.
> apache.openmeetings.db.dt
>
> > o.room.RoomOptionsDTO-
>
> >
>
> > method and pass recordingId instead of roomId
>
> >
>
> > http://openmeetings.apache.org/openmeetings-db/apidocs/
> org/apache/openmeeti
>
> > ngs/db/dto/room/RoomOptionsDTO.html?is-external=true
>
> > On Wed, Apr 11, 2018 at 9:22 PM, Peter Dähn  wrote:
>
> > > Hi Maxim,
>
> > >
>
> > > old api (here 3.0.7) returned an url to get recordings from rooms. We
>
> > > could
>
> > > not figure out, how this should work now (4.0.2). Any hint about this?
>
> > >
>
> > > Greetings Peter
>
>
>


Re: Hint where to get recordings via webservice

2018-04-11 Thread Maxim Solodovnik
Sure :)

WBR, Maxim
(from mobile, sorry for the typos)

On Wed, Apr 11, 2018, 21:42 Peter Dähn  wrote:

> thanks so far.. we try to figure this out... tomorrow it will take
> longer to answer... I will be out of office.. But I will have a look
> during the day...
>
> Am 11.04.2018 um 16:27 schrieb Maxim Solodovnik:
> > You need to call
> >
> http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/UserWebService.html#getRoomHash-java.lang.String-org.apache.openmeetings.db.dto.user.ExternalUserDTO-org.apache.openmeetings.db.dto.room.RoomOptionsDTO-
> >
> > method and pass recordingId instead of roomId
> >
> http://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/room/RoomOptionsDTO.html?is-external=true
> >
> >
> > On Wed, Apr 11, 2018 at 9:22 PM, Peter Dähn  wrote:
> >> Hi Maxim,
> >>
> >> old api (here 3.0.7) returned an url to get recordings from rooms. We
> could
> >> not figure out, how this should work now (4.0.2). Any hint about this?
> >>
> >> Greetings Peter
> >>
> >>
> >
> >
>


Re: Hint where to get recordings via webservice

2018-04-11 Thread Peter Dähn
thanks so far.. we try to figure this out... tomorrow it will take 
longer to answer... I will be out of office.. But I will have a look 
during the day...


Am 11.04.2018 um 16:27 schrieb Maxim Solodovnik:

You need to call
http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/UserWebService.html#getRoomHash-java.lang.String-org.apache.openmeetings.db.dto.user.ExternalUserDTO-org.apache.openmeetings.db.dto.room.RoomOptionsDTO-

method and pass recordingId instead of roomId
  
http://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/room/RoomOptionsDTO.html?is-external=true


On Wed, Apr 11, 2018 at 9:22 PM, Peter Dähn  wrote:

Hi Maxim,

old api (here 3.0.7) returned an url to get recordings from rooms. We could
not figure out, how this should work now (4.0.2). Any hint about this?

Greetings Peter







Re: Hint where to get recordings via webservice

2018-04-11 Thread Maxim Solodovnik
You need to call
http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/UserWebService.html#getRoomHash-java.lang.String-org.apache.openmeetings.db.dto.user.ExternalUserDTO-org.apache.openmeetings.db.dto.room.RoomOptionsDTO-

method and pass recordingId instead of roomId
 
http://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/room/RoomOptionsDTO.html?is-external=true


On Wed, Apr 11, 2018 at 9:22 PM, Peter Dähn  wrote:
> Hi Maxim,
>
> old api (here 3.0.7) returned an url to get recordings from rooms. We could
> not figure out, how this should work now (4.0.2). Any hint about this?
>
> Greetings Peter
>
>



-- 
WBR
Maxim aka solomax


Hint where to get recordings via webservice

2018-04-11 Thread Peter Dähn

Hi Maxim,

old api (here 3.0.7) returned an url to get recordings from rooms. We 
could not figure out, how this should work now (4.0.2). Any hint about this?


Greetings Peter