[PATCH] contrib/rtp: Use payload data files directly by gen_rtp_header

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Jacob Erlbeck jerlbeck at sysmocom.de
Tue Apr 29 13:10:46 UTC 2014


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 at 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




More information about the OpenBSC mailing list