Re: Can't able to play recording from URL, What I am missing?

63 views
Skip to first unread message

Maxim Solodovnik

unread,
Aug 11, 2014, 11:17:17 AM8/11/14
to Openmeetings user-list, openmeet...@googlegroups.com
I'm afraid you are trying to use wrong URL
hash generated need to be used as follows: http://localhost:5080/openmeetings/recording/2ec47f64c32d42dcf746af201da43f5e

It works for me


On 11 August 2014 18:05, bhushan patil <bhusha...@gmail.com> wrote:

Hello everyone, I am facing problem while playing recording. I am using OM(3.0.2). To play recorded file, I am doing following steps.

To create room and do recording.

1> Geting session, say sid.

2> login via admin credential, loginUser(“admin”, “admin”, sid);

3> Adding new user of external type, addNewUserWithExternalType(). ExternalUserId = 101, externalUserType = 'myapp', username = 'bhupesh', userpass = 'bhupesh'

4> Adding room, addRoomWithModeration(sid).

5> Getting roomhash, setUserObjectAndGenerateRoomHashByURL(), username = 'bhupesh', firstname= 'Bhupesh', lastname = 'Patil', externalUserId = '101', externalUserType = 'myapp'

6> Going to URL, generated by hash. Do recording for 1-2min. And exit the room.


To play recording via setUserObjectAndGenerateRecordingHashByURL()

1> Geting session, say sid.

2> login via admin credential, loginUser(“admin”, “admin”, sid);

3> Get recording id getFlvRecordingByRoomId(), returns recordingId.

4> Geting session, say sid1.

5> Getting recordinghash, setUserObjectAndGenerateRecordingHashByURL()

SID = sid1, username = 'bhupesh', firstname = 'Bhupesh', lastname = 'Patil', externalUserId = '101', externalUserType = 'myapp', recording_id = recordingId.

6> Going to URL, generated by hash. Nothing happens. No error, nothing. This recording is exist in hibernate folder(I can play it via media player)


Any suggestion ?




--
WBR
Maxim aka solomax
Reply all
Reply to author
Forward
0 new messages