# This unit test data file is a collection of AMR RTP payloads in octet-aligned # format, with some (but not all) of them also exercising OAX extensions of # TW-TS-006. This input is intended to be fed to rtp2trau_amr test program # in multiple modes: accepting RTP payloads with OAX enabled or disabled, # generating either TRAU-AMR-16k or TRAU-AMR-8k. # Regular speech frames (DHF bit pattern), step through all modes, # two frames in each mode to allow for normal CMI/CMR alternation. F004F89D67F1160935BDE1996840 F004F89D67F1160935BDE1996840 F00C1FB967F7F1FDF547BF2E61C060 F00C1FB967F7F1FDF547BF2E61C060 F014E959F35FDFE5E9667FFBC088818088 F014E959F35FDFE5E9667FFBC088818088 F01CF0B9E6BF68007209C3D3CBC80848A1558C F01CF0B9E6BF68007209C3D3CBC80848A1558C F024F871CF48801EC427F0FC3F7318898622062200 F024F871CF48801EC427F0FC3F7318898622062200 F02C42B332081813D7E916E7AA5E80D7FDE812B8C080 F02C42B332081813D7E916E7AA5E80D7FDE812B8C080 F0341FC722C7880328A9C280030BC9755C3EF519F80000295323E000 F0341FC722C7880328A9C280030BC9755C3EF519F80000295323E000 F03C08556D944C71A1A081E7EAD204244480000ECD82B81118000097C4794E7740 F03C08556D944C71A1A081E7EAD204244480000ECD82B81118000097C4794E7740 # Do MR59 and MR74 DHFs once again, but with Speech_Degraded indication. # Representing this state in RTP requires use of a TW-TS-006 extension, # hence we get to test osmo_amrt_decode_rtp() behaviour in terms of # allowing or disallowing these extensions in RTP input. F016E959F35FDFE5E9667FFBC088818088 F016E959F35FDFE5E9667FFBC088818088 F026F871CF48801EC427F0FC3F7318898622062200 F026F871CF48801EC427F0FC3F7318898622062200 # Now do the same frames yet again, but with Speech_Bad indication. # This one is supported in standard RFC 4867 representation. F010E959F35FDFE5E9667FFBC088818088 F010E959F35FDFE5E9667FFBC088818088 F020F871CF48801EC427F0FC3F7318898622062200 F020F871CF48801EC427F0FC3F7318898622062200 # Test passing of CMR from RTP to TRAU frame output: do 8 DHFs once again, # but step CMR in the opposite order from that of CMI advance. 7004F89D67F1160935BDE1996840 7004F89D67F1160935BDE1996840 600C1FB967F7F1FDF547BF2E61C060 600C1FB967F7F1FDF547BF2E61C060 5014E959F35FDFE5E9667FFBC088818088 5014E959F35FDFE5E9667FFBC088818088 401CF0B9E6BF68007209C3D3CBC80848A1558C 401CF0B9E6BF68007209C3D3CBC80848A1558C 3024F871CF48801EC427F0FC3F7318898622062200 3024F871CF48801EC427F0FC3F7318898622062200 202C42B332081813D7E916E7AA5E80D7FDE812B8C080 202C42B332081813D7E916E7AA5E80D7FDE812B8C080 10341FC722C7880328A9C280030BC9755C3EF519F80000295323E000 10341FC722C7880328A9C280030BC9755C3EF519F80000295323E000 003C08556D944C71A1A081E7EAD204244480000ECD82B81118000097C4794E7740 003C08556D944C71A1A081E7EAD204244480000ECD82B81118000097C4794E7740 # Automatic adaption to implicit CMI/CMR phase in RTP stream: if the used codec # mode changes at a point in the received RTP stream where free-running RIF # alternation would normally produce RIF=1, the phase is flipped by emitting # two RIF=0 frames in a row. Test this mechanism. F004F89D67F1160935BDE1996840 F004F89D67F1160935BDE1996840 F004F89D67F1160935BDE1996840 F014E959F35FDFE5E9667FFBC088818088 F014E959F35FDFE5E9667FFBC088818088 F014E959F35FDFE5E9667FFBC088818088 # Test encoding of SID and No_Data frames. F044FFFFFFFFE4 F07C F07C F04426C7836814 # Test marked-bad SID update. F04026C7836814 # TW-TS-006 extended capabilities: direct setting of RIF that would allow # multiple RIF=0 or RIF=1 frames in a row (must be No_Speech for RIF=1), # and explicit mode indication for No_Data frames. FC7E04 FC7E04 F87E04 F87E04 # ONSET frame followed by some speech frames, also exercising TA+DTXd+TFOE # extension. F07E82 F214E959F35FDFE5E9667FFBC08881808800 F214E959F35FDFE5E9667FFBC088818088E1 F214E959F35FDFE5E9667FFBC08881808802 F214E959F35FDFE5E9667FFBC08881808803