mirror of https://bitbucket.org/ausocean/av.git
Using my C_RTMP_ConnectStream func - tested and working
This commit is contained in:
parent
9fcdfe6367
commit
f0c5dd7bc3
|
@ -466,8 +466,8 @@ func startSession(rtmp *C.RTMP, u string, timeout uint32) (*C.RTMP, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: port this
|
// TODO: port this
|
||||||
// if C_RTMP_ConnectStream(rtmp, 0) == 0 {
|
if C_RTMP_ConnectStream(rtmp, 0) == 0 {
|
||||||
if C.RTMP_ConnectStream(rtmp, 0) == 0 {
|
//if C.RTMP_ConnectStream(rtmp, 0) == 0 {
|
||||||
//C.RTMP_Close(rtmp)
|
//C.RTMP_Close(rtmp)
|
||||||
//C.RTMP_Free(rtmp)
|
//C.RTMP_Free(rtmp)
|
||||||
return nil, errors.New("rtmp startSession: Failed to connect stream!")
|
return nil, errors.New("rtmp startSession: Failed to connect stream!")
|
||||||
|
|
Loading…
Reference in New Issue