mirror of https://bitbucket.org/ausocean/av.git
changed int to int32 in structs
This commit is contained in:
parent
a007bbeef1
commit
1c7fc111f0
74
rtmp/rtmp.go
74
rtmp/rtmp.go
|
@ -225,39 +225,39 @@ type Session struct {
|
|||
// typedef struct RTMP
|
||||
// rtmp.h +237
|
||||
type C_RTMP struct {
|
||||
m_inChunkSize int
|
||||
m_outChunkSize int
|
||||
m_nBWCheckCounter int
|
||||
m_nBytesIn int
|
||||
m_nBytesInSent int
|
||||
m_nBufferMS int
|
||||
m_stream_id int
|
||||
m_mediaChannel int
|
||||
m_inChunkSize int32
|
||||
m_outChunkSize int32
|
||||
m_nBWCheckCounter int32
|
||||
m_nBytesIn int32
|
||||
m_nBytesInSent int32
|
||||
m_nBufferMS int32
|
||||
m_stream_id int32
|
||||
m_mediaChannel int32
|
||||
m_mediaStamp uint32
|
||||
m_pauseStamp uint32
|
||||
m_pausing int
|
||||
m_nServerBw int
|
||||
m_nClientBw int
|
||||
m_pausing int32
|
||||
m_nServerBw int32
|
||||
m_nClientBw int32
|
||||
m_nClientBw2 uint8
|
||||
m_bPlaying uint8
|
||||
m_bSendEncoding uint8
|
||||
m_bSendCounter uint8
|
||||
m_numInvokes int
|
||||
m_numCalls int
|
||||
m_numInvokes int32
|
||||
m_numCalls int32
|
||||
m_methodCalls *C.RTMP_METHOD
|
||||
m_channelsAllocatedIn int
|
||||
m_channelsAllocatedOut int
|
||||
m_channelsAllocatedIn int32
|
||||
m_channelsAllocatedOut int32
|
||||
m_vecChannelsIn **C.RTMPPacket
|
||||
m_vecChannelsOut **C.RTMPPacket
|
||||
m_channelTimestamp *int
|
||||
m_channelTimestamp *int32
|
||||
m_fAudioCodecs float64
|
||||
m_fVideoCodecs float64
|
||||
m_fEncoding float64
|
||||
m_fDuration float64
|
||||
m_msgCounter int
|
||||
m_polling int
|
||||
m_resplen int
|
||||
m_unackd int
|
||||
m_msgCounter int32
|
||||
m_polling int32
|
||||
m_resplen int32
|
||||
m_unackd int32
|
||||
m_clientID C.AVal
|
||||
m_read C.RTMP_READ
|
||||
m_write C.RTMPPacket
|
||||
|
@ -271,7 +271,7 @@ type C_RTMPPacket struct {
|
|||
m_headerType uint8
|
||||
m_packetType uint8
|
||||
m_hasAbsTimestamp uint8
|
||||
m_nChannel int
|
||||
m_nChannel int32
|
||||
m_nTimeStamp uint32
|
||||
m_nInfoField2 int32
|
||||
m_nBodySize uint32
|
||||
|
@ -284,14 +284,14 @@ type C_RTMPPacket struct {
|
|||
// rtmp.h +231
|
||||
type C_RTMP_METHOD struct {
|
||||
name C.AVal
|
||||
num int
|
||||
num int32
|
||||
}
|
||||
|
||||
// typedef struct C.AVal
|
||||
// amf.h +57
|
||||
type C_AVal struct {
|
||||
av_val *byte
|
||||
av_len int
|
||||
av_len int32
|
||||
}
|
||||
|
||||
// typedef struct RTMP_READ
|
||||
|
@ -317,19 +317,19 @@ type C_RTMP_READ struct {
|
|||
// typedef struct RTMP_READ
|
||||
// rtmp.h +200
|
||||
type C_RTMPSockBuf struct {
|
||||
sb_socket int
|
||||
sb_size int
|
||||
sb_socket int32
|
||||
sb_size int32
|
||||
sb_start *byte
|
||||
sb_buf [RTMP_BUFFER_CACHE_SIZE]byte // port const
|
||||
sb_timedout int
|
||||
sb_timedout int32
|
||||
sb_ssl uintptr
|
||||
}
|
||||
|
||||
// typedef struct RTMPChunk
|
||||
// rtmp.h +105
|
||||
type C_RTMPChunk struct {
|
||||
c_headerSize int
|
||||
c_chunkSize int
|
||||
c_headerSize int32
|
||||
c_chunkSize int32
|
||||
c_chunk *byte
|
||||
c_header [RTMP_MAX_HEADER_SIZE]byte
|
||||
}
|
||||
|
@ -353,14 +353,14 @@ type C_RTMP_LNK struct {
|
|||
pubUser C.AVal
|
||||
pubPasswd C.AVal
|
||||
extras C.AMFObject
|
||||
edepth int
|
||||
seekTime int
|
||||
stopTime int
|
||||
lFlags int
|
||||
swfAge int
|
||||
protocol int
|
||||
timeout int
|
||||
pFlags int
|
||||
edepth int32
|
||||
seekTime int32
|
||||
stopTime int32
|
||||
lFlags int32
|
||||
swfAge int32
|
||||
protocol int32
|
||||
timeout int32
|
||||
pFlags int32
|
||||
socksport uint16
|
||||
port uint16
|
||||
}
|
||||
|
@ -368,7 +368,7 @@ type C_RTMP_LNK struct {
|
|||
// typedef struct AMF_Object
|
||||
// amf.h +67
|
||||
type C_AMFObject struct {
|
||||
o_num int
|
||||
o_num int32
|
||||
o_props *C.AMFObjectProperty
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue