Skip to content

Commit

Permalink
fix rtmp reset audio packet config
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroSG94 committed Mar 13, 2024
1 parent 9f2178d commit 2b03e8f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Expand Up @@ -92,11 +92,6 @@ class AacPacket: BasePacket() {
}

override fun reset(resetInfo: Boolean) {
if (resetInfo) {
sampleRate = 44100
isStereo = true
audioSize = AudioSize.SND_16_BIT
}
configSend = false
}
}
Expand Up @@ -61,8 +61,5 @@ class G711Packet: BasePacket() {
}

override fun reset(resetInfo: Boolean) {
if (resetInfo) {
audioSize = AudioSize.SND_16_BIT
}
}
}

0 comments on commit 2b03e8f

Please sign in to comment.