Hi,
On 11/28/22 00:02, Mychaela Falconia wrote:
just how would one represent an explicit
BFI marker in an RTP stream? In the case of AMR codec there is a
straightforward solution already provided for in the specs: simply
send a NO_DATA frame. But what about FR and EFR codecs?
https://datatracker.ietf.org/doc/html/rfc3267#section-4.3.2
"""
Note that packets containing only NO_DATA frames SHOULD NOT be
transmitted.
"""
My guess is that you should indicate it with Q bit set to 0 and put
whatever you want in the payload, maybe padding of zeroes of expected
length based on pyaload type.
https://datatracker.ietf.org/doc/html/rfc3267#section-4.3.2
In any case, in RTP you have seq nums and timestamps, which should allow
you to find out if there were gaps (just check non-consecutive jumps of
seq, or non-consecutive jumps of 160ms of timestamp). Mind also the RTP
Marker (M) bit.
--
- Pau Espin Pedrol <pespin(a)sysmocom.de>
http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte