Giter VIP home page Giter VIP logo

apprtc-go's People

Contributors

daozhao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apprtc-go's Issues

关于apprtc.go和collider之间关系

我在apprt.go里面看到了关于client,room,roomtable新结构体,这样的话就有两个声明了,到底实行的是什么呢??
apprtc.go是不是就包括了信令服务器和房间服务器的内容了???

invalid memory address or nil pointer dereference

2018/05/15 13:17:19 roomPageHandler host: localhost:8080 url: /r/746761393? path: /r/746761393 raw query:
2018/05/15 13:17:19 room page room_id: 746761393
2018/05/15 13:17:19 http: panic serving [::1]:50901: runtime error: invalid memory address or nil pointer dereference
goroutine 117 [running]:
net/http.(*conn).serve.func1(0xc420079540)
/usr/local/go/src/net/http/server.go:1697 +0xd0
panic(0x1352780, 0x15a1460)
/usr/local/go/src/runtime/panic.go:491 +0x283
html/template.(*Template).escape(0x0, 0x0, 0x0)
/usr/local/go/src/html/template/template.go:95 +0x38
html/template.(*Template).Execute(0x0, 0x1571980, 0xc4204748c0, 0x0, 0x0, 0xc4205197e0, 0xffffffffffffffff)
/usr/local/go/src/html/template/template.go:119 +0x2f
main.roomPageHandler(0x15760c0, 0xc4204748c0, 0xc420177000)
/Users/jorgenteunis/go/src/github.com/daozhao/apprtc-go/apprtc.go:262 +0x5e7
net/http.HandlerFunc.ServeHTTP(0x13cfea8, 0x15760c0, 0xc4204748c0, 0xc420177000)
/usr/local/go/src/net/http/server.go:1918 +0x44
net/http.(*ServeMux).ServeHTTP(0xc42007eff0, 0x15760c0, 0xc4204748c0, 0xc420177000)
/usr/local/go/src/net/http/server.go:2254 +0x130
net/http.serverHandler.ServeHTTP(0xc420081380, 0x15760c0, 0xc4204748c0, 0xc420177000)
/usr/local/go/src/net/http/server.go:2619 +0xb4
net/http.(*conn).serve(0xc420079540, 0x1576700, 0xc42012e180)
/usr/local/go/src/net/http/server.go:1801 +0x71d
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2720 +0x288

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.