Giter Club home page Giter Club logo

Comments (7)

notedit avatar notedit commented on June 4, 2024 1

can you build media-server-go sucessfully?

from media-server-go-demo.

notedit avatar notedit commented on June 4, 2024 1

that becuase you did not install the media-server-go-native

I split the c++ native code to another repo because the go tools' limit.

I will improve the build process later.

so you should install media-server-go-native and media-server-go before you run some demo

from media-server-go-demo.

bh90210 avatar bh90210 commented on June 4, 2024

uh I believe so. I really didn't pay attention when I ran the commands.
re-checking asap and will let u know

from media-server-go-demo.

bh90210 avatar bh90210 commented on June 4, 2024

actually no I am sorry, you are right, I was distracted and didn't notice that it didn't build.

root@media-server-go:~/wk_webrtc/media-server-go-native# cd ../media-server-go && go build 
# github.com/notedit/media-server-go/wrapper
/usr/bin/ld: cannot find -lmediaserver
collect2: error: ld returned 1 exit status

should I move this issue to media-server-go repo?

from media-server-go-demo.

bh90210 avatar bh90210 commented on June 4, 2024

hey @notedit yes the build process is a little confusing right now
but I think I can build the media-server-go-native

I have tried the steps found here: https://github.com/notedit/media-server-go-native a couple of times and I get no error. so I assume it works. I am running it one more time as I write, just to be 100% sure.
I will get back with the results asap. (I'm using an old laptop, takes ages to compile..)

from media-server-go-demo.

bh90210 avatar bh90210 commented on June 4, 2024

ok so I got everything working 😄
I am not 100% sure what the problem was but probably something related to my PATH and where I had git cloned the files originally.

root@media-server-go:/wk_webrtc/media-server-go-demo/broadcast# ./broadcast
[0x7ff100b7e740][1564218944.001][LOG]>DTLSConnection::Initialize()
[0x7ff100b7e740][1564218944.003][LOG]>DTLSConnection::GenerateCertificate()
[0x7ff100b7e740][1564218944.061][LOG]<DTLSConnection::GenerateCertificate()
[0x7ff100b7e740][1564218944.062][LOG]<DTLSConnection::Initialize(5)
[GIN-debug] [WARNING] Now Gin requires Go 1.6 or later and Go 1.7 will be required soon.

[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:   export GIN_MODE=release
 - using code:  gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /channel                  --> main.channel (3 handlers)
[GIN-debug] GET    /watch/:stream            --> main.watch (3 handlers)
[GIN-debug] GET    /                         --> main.publish (3 handlers)
[GIN-debug] Listening and serving HTTP on :8000

anyway, fixed it, sorry for opening the issue!
thanks for your time and code!!

from media-server-go-demo.

kakaqi avatar kakaqi commented on June 4, 2024

我编译media-server-go报错,请问是什么原因呢?

taodf@techdev ~/go/src/wk_webrtc/media-server-go $ go build

github.com/notedit/media-server-go/wrapper

/usr/bin/ld: cannot find -lmediaserver
collect2: error: ld returned 1 exit status

from media-server-go-demo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.