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
|
||||
// rtmp.h +113
|
||||
type RTMPPacket struct {
|
||||
type C_RTMPPacket struct {
|
||||
m_headerType uint8
|
||||
m_packetType uint8
|
||||
m_hasAbsTimestamp uint8
|
||||
|
@ -278,21 +278,21 @@ type RTMPPacket struct {
|
|||
|
||||
// typedef struct RTMPMethod
|
||||
// rtmp.h +231
|
||||
type RTMP_METHOD struct {
|
||||
type C_RTMP_METHOD struct {
|
||||
name AVal
|
||||
num int
|
||||
}
|
||||
|
||||
// typedef struct AVal
|
||||
// amf.h +57
|
||||
type AVal struct {
|
||||
type C_AVal struct {
|
||||
av_val *byte
|
||||
av_len int
|
||||
}
|
||||
|
||||
// typedef struct RTMP_READ
|
||||
// rtmp.h +200
|
||||
type RTMP_READ struct {
|
||||
type C_RTMP_READ struct {
|
||||
buf *byte
|
||||
bufpos *byte
|
||||
buflen uint
|
||||
|
@ -312,7 +312,7 @@ type RTMP_READ struct {
|
|||
|
||||
// typedef struct RTMP_READ
|
||||
// rtmp.h +200
|
||||
type RTMPSockBuf struct {
|
||||
type C_RTMPSockBuf struct {
|
||||
sb_socket int
|
||||
sb_size int
|
||||
sb_start *byte
|
||||
|
@ -323,7 +323,7 @@ type RTMPSockBuf struct {
|
|||
|
||||
// typedef struct RTMPChunk
|
||||
// rtmp.h +105
|
||||
type RTMPChunk struct {
|
||||
type C_RTMPChunk struct {
|
||||
c_headerSize int
|
||||
c_chunkSize int
|
||||
c_chunk *byte
|
||||
|
@ -332,7 +332,7 @@ type RTMPChunk struct {
|
|||
|
||||
// typedef struct RTMP_LNK
|
||||
// rtmp.h +144
|
||||
type RTMP_LNK struct {
|
||||
type C_RTMP_LNK struct {
|
||||
hostname AVal
|
||||
sockshost AVal
|
||||
playpath0 AVal
|
||||
|
@ -362,8 +362,8 @@ type RTMP_LNK struct {
|
|||
}
|
||||
|
||||
// typedef struct AMF_Object
|
||||
// amf.h AMFObject +67
|
||||
type AMFObject struct {
|
||||
// amf.h +67
|
||||
type C_AMFObject struct {
|
||||
o_num int
|
||||
o_props *C.AMFObjectProperty
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue