how to read sps and pps from the stream
Open
@microkatz is already working on this.
Since Jan 26, 2024.
needs triage
question
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
hi , I read sps and pps from the stream like this :https://github.com/google/ExoPlayer/issues/10971#issuecomment-1431254450
I have a problem:
Comment out the line castNonNull(trackOutput).format(payloadFormat.format) in RtpH264Reader::createTracks.
then :
input.read(rtpPacketScratchBuffer.getData(), 0, RtpPacket.MAX_SIZE); return -1 in RtpExtractor::read
I cannot receive subsequent streams to parse sps,can you help me?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.