ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

When Support AggregationPacket mode will be added for H.265?

Open a-blekot opened this issue 2 years ago • 5 comments

Hi! We recently wanted to try H265 format for our RTSP camera streaming

But I have found out that it is not fully supported yet.

RtpH265Reader
...

else if (payloadType == RTP_PACKET_TYPE_AP) {
      // TODO: Support AggregationPacket mode.
      throw new UnsupportedOperationException("need to implement processAggregationPacket");

Do you have plans to add it in nearest future? If yes - when approximately?

a-blekot avatar Sep 08 '22 12:09 a-blekot

We don't have immediate plans to support aggregation packet mode in H.265 I'm afraid!

Can you configure the camera not to use this mode OOI?

claincly avatar Sep 08 '22 15:09 claincly

I will ask guys if they could configure our cameras. Thank you!

a-blekot avatar Sep 15 '22 06:09 a-blekot

@claincly Hi !

could you please clarify what means OOI? =) and maybe you have some links where I can read about how not to use packet aggregation?

a-blekot avatar Sep 15 '22 08:09 a-blekot

OOI = out of interest :)

Packet aggregation is a mode that RTSP server uses to split up H265 byte stream into RTP packet. It means one RTP packet could carry multiple H265 NAL units. It's not very widely used afaik. Thus you have to configure the RTSP server (in the camera) not to use this mode.

claincly avatar Sep 15 '22 09:09 claincly

Thank you for the explanation! Hope we could manage to configure the camera. I'm afraid to write this function myself ))

a-blekot avatar Sep 16 '22 05:09 a-blekot