@@ -11,15 +11,15 @@ mod h265_test;
1111///
1212
1313const H265NALU_HEADER_SIZE : usize = 2 ;
14- /// https://datatracker .ietf.org/doc /html/rfc7798#section-4.4.2
14+ /// https://tools .ietf.org/html/rfc7798#section-4.4.2
1515const H265NALU_AGGREGATION_PACKET_TYPE : u8 = 48 ;
16- /// https://datatracker .ietf.org/doc /html/rfc7798#section-4.4.3
16+ /// https://tools .ietf.org/html/rfc7798#section-4.4.3
1717const H265NALU_FRAGMENTATION_UNIT_TYPE : u8 = 49 ;
18- /// https://datatracker .ietf.org/doc /html/rfc7798#section-4.4.4
18+ /// https://tools .ietf.org/html/rfc7798#section-4.4.4
1919const H265NALU_PACI_PACKET_TYPE : u8 = 50 ;
2020
2121/// H265NALUHeader is a H265 NAL Unit Header
22- /// https://datatracker .ietf.org/doc /html/rfc7798#section-1.1.4
22+ /// https://tools .ietf.org/html/rfc7798#section-1.1.4
2323/// +---------------+---------------+
2424/// |0|1|2|3|4|5|6|7|0|1|2|3|4|5|6|7|
2525/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@@ -97,7 +97,7 @@ impl H265NALUHeader {
9797/// | :...OPTIONAL RTP padding |
9898/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
9999///
100- /// Reference: https://datatracker .ietf.org/doc /html/rfc7798#section-4.4.1
100+ /// Reference: https://tools .ietf.org/html/rfc7798#section-4.4.1
101101#[ derive( Default , Debug , Clone , PartialEq , Eq ) ]
102102pub struct H265SingleNALUnitPacket {
103103 /// payload_header is the header of the H265 packet.
@@ -186,7 +186,7 @@ impl H265SingleNALUnitPacket {
186186/// | :
187187/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
188188///
189- /// Reference: https://datatracker .ietf.org/doc /html/rfc7798#section-4.4.2
189+ /// Reference: https://tools .ietf.org/html/rfc7798#section-4.4.2
190190#[ derive( Default , Debug , Clone , PartialEq , Eq ) ]
191191pub struct H265AggregationUnitFirst {
192192 donl : Option < u16 > ,
@@ -226,7 +226,7 @@ impl H265AggregationUnitFirst {
226226/// | :
227227/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
228228///
229- /// Reference: https://datatracker .ietf.org/doc /html/rfc7798#section-4.4.2
229+ /// Reference: https://tools .ietf.org/html/rfc7798#section-4.4.2
230230#[ derive( Default , Debug , Clone , PartialEq , Eq ) ]
231231pub struct H265AggregationUnit {
232232 dond : Option < u8 > ,
@@ -266,7 +266,7 @@ impl H265AggregationUnit {
266266/// | :...OPTIONAL RTP padding |
267267/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
268268///
269- /// Reference: https://datatracker .ietf.org/doc /html/rfc7798#section-4.4.2
269+ /// Reference: https://tools .ietf.org/html/rfc7798#section-4.4.2
270270#[ derive( Default , Debug , Clone , PartialEq , Eq ) ]
271271pub struct H265AggregationPacket {
272272 first_unit : Option < H265AggregationUnitFirst > ,
@@ -427,7 +427,7 @@ impl H265FragmentationUnitHeader {
427427/// | :...OPTIONAL RTP padding |
428428/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
429429///
430- /// Reference: https://datatracker .ietf.org/doc /html/rfc7798#section-4.4.3
430+ /// Reference: https://tools .ietf.org/html/rfc7798#section-4.4.3
431431#[ derive( Default , Debug , Clone , PartialEq , Eq ) ]
432432pub struct H265FragmentationUnitPacket {
433433 /// payload_header is the header of the H265 packet.
@@ -526,7 +526,7 @@ impl H265FragmentationUnitPacket {
526526/// | :...OPTIONAL RTP padding |
527527/// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
528528///
529- /// Reference: https://datatracker .ietf.org/doc /html/rfc7798#section-4.4.4
529+ /// Reference: https://tools .ietf.org/html/rfc7798#section-4.4.4
530530#[ derive( Default , Debug , Clone , PartialEq , Eq ) ]
531531pub struct H265PACIPacket {
532532 /// payload_header is the header of the H265 packet.
@@ -655,7 +655,7 @@ impl H265PACIPacket {
655655///
656656
657657/// H265TSCI is a Temporal Scalability Control Information header extension.
658- /// Reference: https://datatracker .ietf.org/doc /html/rfc7798#section-4.5
658+ /// Reference: https://tools .ietf.org/html/rfc7798#section-4.5
659659#[ derive( Default , Debug , Copy , Clone , PartialEq , Eq ) ]
660660pub struct H265TSCI ( pub u32 ) ;
661661
0 commit comments