Class H264Depacketiser
Based in https://github.com/BogdanovKirill/RtspClientSharp/blob/master/RtspClientSharp/MediaParsers/H264VideoPayloadParser.cs Distributed under MIT License
@author raf.csoares@kyubinteractive.com
Inheritance
System.Object
H264Depacketiser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class H264Depacketiser
Methods
| Improve this Doc View SourceCheckKeyFrame(Int32, ref Nullable<Boolean>)
Declaration
protected void CheckKeyFrame(int nal_type, ref bool? isKeyFrame)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | nal_type | |
System.Nullable<System.Boolean> | isKeyFrame |
ProcessH264Payload(Byte[], UInt16, UInt32, Int32, out Boolean)
Declaration
protected virtual List<byte[]> ProcessH264Payload(byte[] rtp_payload, ushort seqNum, uint rtp_timestamp, int rtp_marker, out bool isKeyFrame)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | rtp_payload | |
System.UInt16 | seqNum | |
System.UInt32 | rtp_timestamp | |
System.Int32 | rtp_marker | |
System.Boolean | isKeyFrame |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Byte[]> |
ProcessH264PayloadFrame(List<KeyValuePair<Int32, Byte[]>>, out Boolean)
Declaration
protected virtual List<byte[]> ProcessH264PayloadFrame(List<KeyValuePair<int, byte[]>> rtp_payloads, out bool isKeyFrame)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<System.Int32, System.Byte[]>> | rtp_payloads | |
System.Boolean | isKeyFrame |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Byte[]> |
ProcessRTPPayload(Byte[], UInt16, UInt32, Int32, out Boolean)
Declaration
public virtual MemoryStream ProcessRTPPayload(byte[] rtpPayload, ushort seqNum, uint timestamp, int markbit, out bool isKeyFrame)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | rtpPayload | |
System.UInt16 | seqNum | |
System.UInt32 | timestamp | |
System.Int32 | markbit | |
System.Boolean | isKeyFrame |
Returns
Type | Description |
---|---|
System.IO.MemoryStream |
ProcessRTPPayloadAsNals(Byte[], UInt16, UInt32, Int32, out Boolean)
Declaration
public virtual List<byte[]> ProcessRTPPayloadAsNals(byte[] rtpPayload, ushort seqNum, uint timestamp, int markbit, out bool isKeyFrame)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | rtpPayload | |
System.UInt16 | seqNum | |
System.UInt32 | timestamp | |
System.Int32 | markbit | |
System.Boolean | isKeyFrame |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Byte[]> |