Forum Activity for @dannya

alt=
@dannya
07/02/14 02:51:06PM
584 posts

SOX, LAME, and other audio functions


Jamroom Developers

That's the reason for my question.
I don't know what ELSE the audio module does; so I'm trying to understand the full scope and flow of the module. Right now i'm discovering tools after the fact. e.g. the sample file trimming is not available in my custom module; that was added later.

Also, I want to additional functionality to the process when a song is created. e.g. GRiD generation, bpm detection, key generation, additional format conversion. Having an understanding of the existing process would help me figure out the best time to do that.

Finally, I was considering separating the entire media "processing" to be handled on s separate server. i.e. having a separate server handle the heavy lifting of transcoding and processing by other tools. This would take a lot of load of the server and could be scaled separately.
alt=
@dannya
07/02/14 10:58:56AM
584 posts

SOX, LAME, and other audio functions


Jamroom Developers

Michael,

Unfortunately, I'm not a developer;i was trying to understand what the module does. As much as i would like to try and figure out the code, if I thought i could do that accurately, I would not have asked the question or looked for documentation.

In other words, to paraphrase this interaction:
Me: Can you provide more detailed documentation
You: You should figure it out for yourself, and then write the documentation for us.

Not the response i was looking for.
alt=
@dannya
07/02/14 12:07:36AM
584 posts

SOX, LAME, and other audio functions


Jamroom Developers

Yes a diagram like that would have been perfect. I wish i had written the module so i could break it down like that. it was exactly what i was looking for. Do you know who created the diagram of the routing system?
alt=
@dannya
06/30/14 09:59:27PM
584 posts

SOX, LAME, and other audio functions


Jamroom Developers

Is it possible to get a breakdown of the basic functions that the audio module provides? I have my own audio module built off an early version of the audio module and it does not have all the functionality. To make it worse, i have to update every time there is a change to the audio module. It would be helpful to know what i'm missing. Can you break down what the audio module does and the flow? e.g.
1. lame- encoder converts file based on quota settings
2. Sox- ???
3. id3tagger adds tags based on metadata
4. ???
5. ???
updated by @dannya: 08/05/14 03:35:52AM
alt=
@dannya
06/25/14 10:49:39PM
584 posts

stream is working in chrome but not in firefox


Jamroom Developers

Here is an example
http://www.sampatti.com/xtraxxdev2/
Click play on media "danny testing invoice"

look in console.
chrome plays fine.
firefox returns error.

However, I think part of the question was general as to how that URL is generated.
updated by @dannya: 06/26/14 12:02:27AM
alt=
@dannya
06/21/14 05:43:25PM
584 posts

Diff tool


Using Jamroom

what does the modules/jrcore/tools/diff tool do? i.e. what does JR use it for? What permissions does it require?
updated by @dannya: 07/23/14 01:08:56PM
alt=
@dannya
06/19/14 12:09:47PM
584 posts

Invalid validation key


Using Jamroom

Fresh install, when a user signs up, they are sent a validation email. The validation key keeps returning "invalid validation key" when you click the link in the email.
updated by @dannya: 07/21/14 11:47:46AM
alt=
@dannya
06/17/14 10:17:09PM
584 posts

create video error


Jamroom Developers

switched back to fcgi and issue went away.
alt=
@dannya
06/17/14 12:30:32AM
584 posts

create video error


Jamroom Developers

We switched to mod_ruid2 and have started having significant db connection problems. Getting allot of errors:CRI: Query Error: Lost connection to MySQL server during queryā€¯

Not sure if its a coincidence. My sysadmin has been trying to troubleshoot and asked to check the following:




The issue with lost DB connections needs to be investigated from both sides - our and developers'. Please ask your developers to read my report as well.

First of all, I have to notice that mentioned error occurs not only during the Integrity Check. I've enabled detailed logs for MySQL service and see that it keeps appear intermittently while I'm navigating the admin interface of your website.

So, here is the exact error from MySQL log that we are talking about:

140617 1:32:22 [Warning] Aborted connection 321 to db: 'dev' user: 'dev' host: 'localhost' (Got an error writing communication packets)

numbers of connection ID and timestamps are always different, obviously.

According to the official documentation of MySQL there are several possible reasons of this error. Please take a look at the following page http://dev.mysql.com/doc/refman/5.5/en/communication-errors.html and please ask your developers to read it as well.
All possible reasons of this issue may be divided into three groups:

1. Configuration limits of MySQL service
Here are the related configuration directives, which may be related to the issue, and their current values after my adjustments. Also with short comments.

connect_timeout = 60 # The number of seconds that the mysqld server waits for a connect packet
max_allowed_packet = 20971520 # The maximum size of one packet or any generated/intermediate string (in bytes)
interactive_timeout = 28800 # The number of seconds the server waits for activity on an interactive connection before closing it
wait_timeout = 28800 # The number of seconds the server waits for activity on a noninteractive connection before closing it

The total amount of errors has been reduced after my changes, so this helped only partially. But the nature and behavior of errors occurrence now makes me think that listed directives are no longer the reason.
2. Lack of resources for MySQL on the server
This also may be a reason of that error, when MySQL is limited in CPU usage or memory for example. But I don't see any warnings about resources lack in the logs and overall system monitoring does not show anything related.
3. Application-related problem
Let me cite the advices from MySQL documentation here. Possible reasons are:
- The client program did not call mysql_close() before exiting;
- The client program ended abruptly in the middle of a data transfer.
We will be waiting for your further comments and developers answer.
  49