tonihei
e54d2f5658
Merge pull request #119 from ittiam-systems:rtp_h263_test_and_fix
...
PiperOrigin-RevId: 463146426
2022-08-08 08:01:44 +00:00
ibaker
2deb435625
Annotate methods that always return this
with @CanIgnoreReturnValue
...
It's always safe to ignore the result of these methods, because the
caller already has a reference to the returned value.
PiperOrigin-RevId: 462388947
2022-08-08 07:55:25 +00:00
Manisha Jajoo
ef57a061b7
Pass local copy of input to RtpH263ReaderTest's consume method
...
This change is done to keep the frame data unchanged.
RtpH263Reader changes the header data in input, so to send the same
RTP packet across multiple tests, each test copies the frame data
into a new packet and sends that to the reader.
2022-07-19 11:45:39 +05:30
Manisha Jajoo
c7fbf3437f
Revert "Keep the input data constant in consume method"
...
This reverts commit 3bacb1646c9ecd01e403465c7643888e83a9e79d.
2022-07-19 11:40:01 +05:30
Manisha Jajoo
69a716f633
fix review comments in RtpH263ReaderTest
2022-07-18 10:44:51 +05:30
Manisha Jajoo
3bacb1646c
Keep the input data constant in consume method
...
Earlier, the consume method of RtpH263Reader was changing the bytes of the
input bitstream during header parse. This commit copies the input into
local context and changes the local variable as per the specifications
thus keeping the input constant.
2022-07-18 10:43:41 +05:30
Manisha Jajoo
da47771d10
Add test for Rtp H263 Reader
...
Change-Id: I57d57881ef5c158d41be1bf1e3714332d50cd3a9
2022-07-14 09:36:32 +05:30
claincly
40fd3ffa6c
Fix two typos in RtpVp8Reader and test
...
PiperOrigin-RevId: 460662425
2022-07-13 17:43:29 +00:00
Rohit Singh
9d9bbe3d33
Merge pull request #110 from ittiam-systems:rtp_vp8_test
...
PiperOrigin-RevId: 460513413
2022-07-13 17:40:18 +00:00
Manisha Jajoo
a38059d109
Update H263 Reader to handle missing frames/fragments.
...
Change-Id: I43dfbabcbe686c31cb54e6b95688af1fa35a3d24
2022-07-13 17:46:31 +05:30
Shraddha Basantwani
1de4ee3af5
Add RTP VP8 Reader Test
...
Update VP8 Reader to handle missing frames/fragments.
Change-Id: I9eede8f1e3a20fb0ff2e7add0dfc60f0780ec769
2022-07-06 14:25:14 +05:30
Shraddha Basantwani
ff3d7dff12
Fix VP8 Reader
...
Update VP8 header to check if the S bit is set.
Variable fragmentedSampleSizeBytes is initialised with -1, and reader
is directly adding fragmentSize to this variable.
Updated it to check if the size is unset.
Bug: 238153477
Test: manual
Change-Id: I9d5735422a4a0eeb2967af93809b879b434e3c57
2022-07-06 14:25:14 +05:30
Marc Baechinger
dc0e5c447b
Merge pull request #63 from ittiam-systems:rtp-h263
...
PiperOrigin-RevId: 455347182
2022-06-16 11:24:41 +00:00
Rakesh Kumar
fc3c57ecfd
Merge branch 'main' into rtp-h263
2022-06-10 11:38:51 +05:30
Marc Baechinger
58f7ac25a7
Merge pull request #69 from ittiam-systems:rtp_amr_test
...
PiperOrigin-RevId: 453905355
2022-06-09 17:47:15 +00:00
Marc Baechinger
a2a4504329
Merge pull request #53 from ittiam-systems:rtp_opus
...
PiperOrigin-RevId: 453490088
2022-06-09 17:37:09 +00:00
ibaker
26a1817ebf
Rollback of e01bb47263
...
*** Original commit ***
Rollback of 07302a23bd
*** Original commit ***
Remove `@Nullable` from `MediaSource.Factory` setters
The null-behaviour of these methods creates a minimization footgun,
because **any** call to these setters will prevent R8 from removing
the default implementation (even if it's never used by the app) - this
is because R8 can't tell the default imple...
***
PiperOrigin-RevId: 450453325
2022-05-23 17:12:22 +01:00
ibaker
1d139174fd
Rollback of 07302a23bd5894d57514c68b2db499ac46726e77
...
*** Original commit ***
Remove `@Nullable` from `MediaSource.Factory` setters
The null-behaviour of these methods creates a minimization footgun,
because **any** call to these setters will prevent R8 from removing
the default implementation (even if it's never used by the app) - this
is because R8 can't tell the default implementation is only used if the
parameter is `null`.
PiperOrigin-RevId: 450410833
2022-05-23 13:01:22 +01:00
ibaker
07302a23bd
Remove @Nullable
from MediaSource.Factory
setters
...
The null-behaviour of these methods creates a minimization footgun,
because **any** call to these setters will prevent R8 from removing
the default implementation (even if it's never used by the app) - this
is because R8 can't tell the default implementation is only used if the
parameter is `null`.
PiperOrigin-RevId: 450386627
2022-05-24 11:07:07 +01:00
Ian Baker
05ce399558
Merge pull request #64 from ittiam-systems:rtp-vp9
...
PiperOrigin-RevId: 448978892
2022-05-24 10:46:15 +01:00
claincly
4c34160a96
Add support for static RTP payload types.
...
Some RTP foramts are statically assigned, so they don't have the rtpmap
attribute. Create the missing rtpmap attribute in this case.
PiperOrigin-RevId: 448239724
2022-05-24 10:38:44 +01:00
Rakesh Kumar
dfc424dbe6
Fix review comment in RTPH263Reader
...
Change-Id: I6ae45dc710245769f36130ead4077d8e9980bf54
2022-05-09 19:13:55 +05:30
Rakesh Kumar
aae9f23c79
Fix some minor review comments in RTPH263Reader
...
Change-Id: I0d728c695c9e11c5a50ef6f211bde614df4bbe71
2022-05-09 19:07:11 +05:30
ibaker
9a67b30750
Migrate usages from C.TYPE_* to C.CONTENT_TYPE_*
...
PiperOrigin-RevId: 446156308
2022-05-09 10:46:04 +01:00
claincly
7af91fc9d5
Ignore mandatory SDP fields as ExoPlayer doesn't use them
...
Issue: google/ExoPlayer#10049
PiperOrigin-RevId: 444833508
2022-05-09 10:20:38 +01:00
Rakesh Kumar
432ae9d38c
Merge branch 'main' into rtp-vp9
2022-05-09 13:27:46 +05:30
Rakesh Kumar
a1cff9af0d
Fix review comment in RTPVp9Reader
...
Change-Id: I7e2d36eb3d69fb09e0d0bbc283d41165c69d4076
2022-05-09 13:20:26 +05:30
Rakesh Kumar
f8cd3a9746
Fix some more review comment in RTP H263 Reader.
...
Change-Id: If1f80a369b47319251e262c8f171091bb37e90c5
2022-05-05 15:37:54 +05:30
Rakesh Kumar
ff80a41f90
Fix review comment in RTP H263 Reader
...
Change-Id: I987baf379ecf3ba3f387cb38f22646023739addb
2022-05-05 14:42:19 +05:30
Rakesh Kumar
ffa04ea949
Merge branch 'main' into rtp-h263
2022-05-05 14:36:22 +05:30
claincly
59ced5325c
Catch unchecked exception in RtspSessionTiming parsing.
...
Issue: google/ExoPlayer#10165
#minor-release
PiperOrigin-RevId: 443653894
2022-04-26 15:01:29 +01:00
claincly
16b0cee0b6
Fix Basic authentication header
...
Issue: google/ExoPlayer#9544
The header must include the word "Basic", but the word is missing.
#minor-release
PiperOrigin-RevId: 443386880
2022-04-26 14:56:38 +01:00
Shraddha Basantwani
165e706aa9
Add RTP Opus Reader Test
...
Change-Id: I189811c9bef9d11e93472c755bc19dee5dc3ee7c
2022-04-25 15:21:26 +05:30
manisha_jajoo
0bf197341d
Add a missing break in RtspMediaTrack and update RtpPayloadFormat.java
2022-04-21 11:59:22 +05:30
Shraddha Basantwani
718cea8d7b
Add RTP AMR Reader Test
...
Change-Id: Ic8bdffc25b5babf7ccbbb98f161840eb774888e2
2022-04-21 11:51:27 +05:30
manisha_jajoo
f0d7d96309
Merge branch 'main' into rtp_opus
2022-04-21 10:26:08 +05:30
claincly
e780a32de4
Support colon (:) in RTSP timing.
...
Some RTSP servers use `npt`: notation rather than `npt=`
PiperOrigin-RevId: 439333319
2022-04-06 11:56:55 +01:00
Ian Baker
f48babb4ed
Merge pull request #35 from ittiam-systems:rtp-mpeg4
...
PiperOrigin-RevId: 438000682
2022-04-06 11:19:08 +01:00
Ian Baker
e3a9ed6581
Merge pull request #56 from ittiam-systems:rtp_wav
...
PiperOrigin-RevId: 437783926
2022-04-06 11:14:43 +01:00
Ian Baker
9f29d22659
Merge pull request #47 from ittiam-systems:rtp-vp8
...
PiperOrigin-RevId: 437710223
2022-04-06 11:05:54 +01:00
Ian Baker
a11c22b67e
Merge pull request #46 from ittiam-systems:rtp_amr
...
PiperOrigin-RevId: 437274290
2022-04-06 11:03:43 +01:00
Rakesh Kumar
3b9519c398
Add support for RTSP VP9
...
Change-Id: Id658564495af13c35fa78ecde9ab587557aabb47
2022-03-31 21:29:32 +05:30
Rakesh Kumar
55bfe71384
Add support for RTSP H263
...
Added H263 RTP Packet reader and added support for H263 playback through
RTSP.
Change-Id: I348cc4d8e974b5275409b816a9d52aa29f593233
2022-03-30 20:31:20 +05:30
Shraddha Basantwani
3f8a68004c
Add PCM and G711 Reader Test
...
Add RtpPcmReader tests and warning for out of
order packets in RtpPcmReader.
Change-Id: I1554fa0a944dad00248a0a41fefad958da073a21
2022-03-28 11:27:32 +05:30
Shraddha Basantwani
500c879b8a
Modify RtpPcmReader
...
Rename a few variable to be more relevant
Add detailed java docs
2022-03-28 11:22:23 +05:30
Shraddha Basantwani
bfc1fb9aa7
Merge branch 'main' of github.com:ittiam-systems/media into rtp_wav
2022-03-28 11:13:21 +05:30
Manisha Jajoo
3a87039ba1
Fixed review comments in RtpOpusReader
2022-03-24 01:39:10 +05:30
olly
5d8ac644a6
Move TrackGroupArray back to ExoPlayer
...
PiperOrigin-RevId: 435325454
2022-03-17 13:08:56 +00:00
Manisha Jajoo
be108b9e5e
Add support for RTSP Opus
...
Added Opus RTP packet reader and added support for Opus
playback through RTSP
Change-Id: Ib6702bd8aafd0bd782e89127ab907061ff06ccb3
2022-03-15 19:09:16 +05:30
Shraddha Basantwani
ac528d3ab0
Add support for RTSP PCM/WAV and G711/WAV
...
Added PCM RTP packet reader and added support for PCM 8 bit,
16 bit, ALAW and MULAW playback through RTSP.
Change-Id: If0a187b55faa89850a159e17eae28358d6634799
2022-03-15 18:51:57 +05:30