mirror of https://bitbucket.org/ausocean/av.git
Changed name of rtmpSetupUrl to C_RTMP_SetupUrl
This commit is contained in:
parent
10733af04f
commit
10d655f69c
|
@ -419,7 +419,7 @@ func startSession(rtmp *C.RTMP, u string, timeout uint32) (*C.RTMP, error) {
|
|||
C_RTMP_Init(rtmp)
|
||||
//C.RTMP_Init(rtmp)
|
||||
rtmp.Link.timeout = connect_timeout
|
||||
if rtmpSetupUrl(rtmp, u) == 0 {
|
||||
if C_RTMP_SetupUrl(rtmp, u) == 0 {
|
||||
// if C.RTMP_SetupURL(rtmp, C.CString(u)) == 0 {
|
||||
//C.RTMP_Close(rtmp)
|
||||
//C.RTMP_Free(rtmp)
|
||||
|
@ -467,7 +467,7 @@ func C_RTMP_Init(r *C.RTMP) {
|
|||
r.Link.swfAge = 30
|
||||
}
|
||||
|
||||
func rtmpSetupUrl(r *C.RTMP, u string) int32 {
|
||||
func C_RTMP_SetupUrl(r *C.RTMP, u string) int32 {
|
||||
url := goStrToCStr(u)
|
||||
|
||||
var ret, len int32
|
||||
|
|
Loading…
Reference in New Issue