mirror of https://bitbucket.org/ausocean/av.git
Using my rtmpAlloc - tested and working
This commit is contained in:
parent
69ff0bbad5
commit
e7ba480770
|
@ -393,8 +393,8 @@ func rtmpIsConnected(r *C.RTMP) int {
|
|||
|
||||
func startSession(rtmp *C.RTMP, u string, timeout uint32) (*C.RTMP, error) {
|
||||
connect_timeout := C.int(timeout)
|
||||
// rtmp = rtmpAlloc()
|
||||
rtmp = C.RTMP_Alloc()
|
||||
rtmp = rtmpAlloc()
|
||||
//rtmp = C.RTMP_Alloc()
|
||||
// rtmpInit(rtmp)
|
||||
C.RTMP_Init(rtmp)
|
||||
rtmp.Link.timeout = connect_timeout
|
||||
|
|
Loading…
Reference in New Issue