mirror of https://bitbucket.org/ausocean/av.git
changed names of my structs to have C_...
This commit is contained in:
parent
1841b16feb
commit
16c769a411
18
rtmp/rtmp.go
18
rtmp/rtmp.go
|
@ -263,7 +263,7 @@ type C_RTMP struct {
|
||||||
|
|
||||||
// typedef struct RTMPPacket
|
// typedef struct RTMPPacket
|
||||||
// rtmp.h +113
|
// rtmp.h +113
|
||||||
type RTMPPacket struct {
|
type C_RTMPPacket struct {
|
||||||
m_headerType uint8
|
m_headerType uint8
|
||||||
m_packetType uint8
|
m_packetType uint8
|
||||||
m_hasAbsTimestamp uint8
|
m_hasAbsTimestamp uint8
|
||||||
|
@ -278,21 +278,21 @@ type RTMPPacket struct {
|
||||||
|
|
||||||
// typedef struct RTMPMethod
|
// typedef struct RTMPMethod
|
||||||
// rtmp.h +231
|
// rtmp.h +231
|
||||||
type RTMP_METHOD struct {
|
type C_RTMP_METHOD struct {
|
||||||
name AVal
|
name AVal
|
||||||
num int
|
num int
|
||||||
}
|
}
|
||||||
|
|
||||||
// typedef struct AVal
|
// typedef struct AVal
|
||||||
// amf.h +57
|
// amf.h +57
|
||||||
type AVal struct {
|
type C_AVal struct {
|
||||||
av_val *byte
|
av_val *byte
|
||||||
av_len int
|
av_len int
|
||||||
}
|
}
|
||||||
|
|
||||||
// typedef struct RTMP_READ
|
// typedef struct RTMP_READ
|
||||||
// rtmp.h +200
|
// rtmp.h +200
|
||||||
type RTMP_READ struct {
|
type C_RTMP_READ struct {
|
||||||
buf *byte
|
buf *byte
|
||||||
bufpos *byte
|
bufpos *byte
|
||||||
buflen uint
|
buflen uint
|
||||||
|
@ -312,7 +312,7 @@ type RTMP_READ struct {
|
||||||
|
|
||||||
// typedef struct RTMP_READ
|
// typedef struct RTMP_READ
|
||||||
// rtmp.h +200
|
// rtmp.h +200
|
||||||
type RTMPSockBuf struct {
|
type C_RTMPSockBuf struct {
|
||||||
sb_socket int
|
sb_socket int
|
||||||
sb_size int
|
sb_size int
|
||||||
sb_start *byte
|
sb_start *byte
|
||||||
|
@ -323,7 +323,7 @@ type RTMPSockBuf struct {
|
||||||
|
|
||||||
// typedef struct RTMPChunk
|
// typedef struct RTMPChunk
|
||||||
// rtmp.h +105
|
// rtmp.h +105
|
||||||
type RTMPChunk struct {
|
type C_RTMPChunk struct {
|
||||||
c_headerSize int
|
c_headerSize int
|
||||||
c_chunkSize int
|
c_chunkSize int
|
||||||
c_chunk *byte
|
c_chunk *byte
|
||||||
|
@ -332,7 +332,7 @@ type RTMPChunk struct {
|
||||||
|
|
||||||
// typedef struct RTMP_LNK
|
// typedef struct RTMP_LNK
|
||||||
// rtmp.h +144
|
// rtmp.h +144
|
||||||
type RTMP_LNK struct {
|
type C_RTMP_LNK struct {
|
||||||
hostname AVal
|
hostname AVal
|
||||||
sockshost AVal
|
sockshost AVal
|
||||||
playpath0 AVal
|
playpath0 AVal
|
||||||
|
@ -362,8 +362,8 @@ type RTMP_LNK struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// typedef struct AMF_Object
|
// typedef struct AMF_Object
|
||||||
// amf.h AMFObject +67
|
// amf.h +67
|
||||||
type AMFObject struct {
|
type C_AMFObject struct {
|
||||||
o_num int
|
o_num int
|
||||||
o_props *C.AMFObjectProperty
|
o_props *C.AMFObjectProperty
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue