On 29.04.2014 14:24, Holger Hans Peter Freyther wrote:
On Tue, Apr 29, 2014 at 12:40:21PM +0200, Jacob Erlbeck wrote:
This adds a --frame-size option to read payload binary files with a fixed frame size directly. The file must not contain RTP headers. In addition '--rate' and '--duration' can be used to configure the timing.
Please push to master. You are the producer/consumer of this application. There is no possibility you interfere wuth any of us. :)
Yes, but perhaps somebody has comments or helpful hints on it.
- write_packet(Dev, 0.020 * F + Delay, + write_packet(Dev, Ptime * F / Rate + Delay,
Do you need to change the default value of F?
F is set to Start/First (ok, the naming could be made consistent) initially.
Is it (F/R)+D or F/(R+D) in erlang?
I'm not sure what you mean, but (F/R)+D is semantically equal to F/R+D and to D+F/R (the Erlang parser associates */ tighter than +-). R is a rate and D is a time, so (R + D) doesn't make much sense. -- - Jacob Erlbeck <jerlbeck@sysmocom.de> http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Schivelbeiner Str. 5 * 10439 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte