Skip to content

Commit

Permalink
fix test and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroSG94 committed Feb 8, 2024
1 parent a95295f commit 0649cee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ dependencies {

- [X] Get upload bandwidth used.
- [x] RTSP auth (adobe and llnw).
- [x] H264, AV1, H265 ([Using RTMP enhanced](https://github.com/veovera/enhanced-rtmp/tree/main)), AAC and G711 support.
- [x] AV1, H265 ([Using RTMP enhanced](https://github.com/veovera/enhanced-rtmp/tree/main)), H264, AAC and G711 support.
- [x] RTMPS (under TLS)
- [x] RTMPT and RTMPTS (tunneled and tunneled under TLS)
- [x] AMF0
Expand All @@ -111,7 +111,7 @@ dependencies {

- [X] Get upload bandwidth used.
- [x] RTMP auth (basic and digest).
- [x] AV1, H264, H265, AAC and G711 support.
- [x] AV1, H264, H265, AAC, G711 and OPUS support.
- [x] TCP/UDP.
- [x] RTSPS.

Expand Down
2 changes: 1 addition & 1 deletion rtsp/src/test/java/com/pedro/rtsp/rtp/OpusPacketTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class OpusPacketTest {
frames.add(it)
}

val expectedRtp = byteArrayOf(-128, -120, 0, 1, 0, 15, 18, 6, 7, 91, -51, 21).plus(fakeOpus)
val expectedRtp = byteArrayOf(-128, -31, 0, 1, 0, 15, 18, 6, 7, 91, -51, 21).plus(fakeOpus)
val expectedTimeStamp = 987654L
val expectedSize = RtpConstants.RTP_HEADER_LENGTH + info.size
val packetResult = RtpFrame(expectedRtp, expectedTimeStamp, expectedSize, 1, 2, RtpConstants.trackAudio)
Expand Down

0 comments on commit 0649cee

Please sign in to comment.