janus-pp-rec?

1,289 views
Skip to first unread message

Zu zu

unread,
Mar 18, 2015, 3:21:40 PM3/18/15
to meetech...@googlegroups.com
Fist time user here and I was hoping to play with the janus-pp-rec utility -- can anybody quickly help me get going?

I've built janus with --enable-post-processing but I'm not sure what that did :) I expected to see it show up in /opt/janus/bin??

Thanks and awesome project btw

Lorenzo Miniero

unread,
Mar 19, 2015, 4:31:01 AM3/19/15
to meetech...@googlegroups.com
Not sure if we install the post-processor to the bin folder, I guess we should. Anyway, you'll find it in the processing subfolder of the project.

L.

Lorenzo Miniero

unread,
Mar 19, 2015, 11:26:41 AM3/19/15
to meetech...@googlegroups.com
Just checked and we do install it to the bin folder. Of course you need to do a make install for this to happen.

L.

Zu zu

unread,
Mar 19, 2015, 2:05:16 PM3/19/15
to meetech...@googlegroups.com
that would help.. got it, thanks :D

Zu zu

unread,
Mar 20, 2015, 11:43:08 AM3/20/15
to meetech...@googlegroups.com
Update:

janus-pp-rec is working great, however I'm now having an issue with the unprocessed recordings showing up in weird places when using the videoroom plugin.

it seems that the "rec_dir" is being ignored, and the recordings instead end up in whatever directory im in when i start the janus server?? i am configuring the room on the fly in js (other things seem to work, ie, i have users in the session, and the recording is enabled, its just the location doesnt seem to be applied)

to reproduce:

1. navigate to /opt/janus/bin and run janus
 
2. in js i update the room: message = { "request": "configure", "room": theRoom, "record": true, "rec_dir": "/var/www/html/recordings" };

the recording is enabled for the room, but the recordings end up in /opt/janus/bin

if i were in my home directory, and simply typed /opt/janus/bin/janus, the recordings end up in the home directory

i'll continue to test, but as i recall when i specified the directory in a config file, it worked. but my hope now is to have dynamic rooms so the recording directory cannot be specified in advance

any insight is welcome.. hopefully im just a noob and its not a bug

cheers

Lorenzo Miniero

unread,
Mar 21, 2015, 9:55:39 AM3/21/15
to meetech...@googlegroups.com
Sounds like a bug, can you open an issue on the github project?

L.

Oscar Vadillo

unread,
Jun 9, 2016, 4:55:06 AM6/9/16
to meetecho-janus
On my case the records after a configure request are saved in root folder '/'. rec_dir param is ignored. If I set record param before create the videoroom it works and records are saved in the rec_dir folder

Lorenzo Miniero

unread,
Jun 9, 2016, 8:04:57 AM6/9/16
to meetecho-janus
You can specify "rec_dir" in a "create" request, to have different rooms recorded in different folders. Same applies to rec_dir in the configuration file.

L.

Oscar Vadillo

unread,
Jun 9, 2016, 8:17:24 AM6/9/16
to meetecho-janus
Yes and it works. The problem is when I specify "rec_dir" in a "configure" request. In this case records is always saved in root folder "/" ignoring the "rec_dir"

Lorenzo Miniero

unread,
Jun 9, 2016, 8:20:44 AM6/9/16
to meetecho-janus
rec_dir is not part of the "configure" arguments format. You can only specify "record" and "filename", where filename is relative to the room's rec_dir, if available, or an absolute path, if not.

L.

Oscar Vadillo

unread,
Jun 9, 2016, 8:33:51 AM6/9/16
to meetecho-janus
Oh, that's true, thanks Lorenzo!
Reply all
Reply to author
Forward
0 new messages