GithubHelp home page GithubHelp logo

gortp's People

Stargazers

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

Watchers

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

gortp's Issues

This may be a bug

I read this code and found a problem:
In sessionlocal.go #137
delete(rs.streamsOut, idx)
I think it should changed to
delete (rs.streamsIn, idx)
Maybe I am wrong, hope to reply as soon as possible

Licence

I have forked your GoRTP library and noticed that there are no licences attached to your project. Would you consider adding a licence such as common creative or MIT?

panic: runtime error: slice bounds out of range

panic: runtime error: slice bounds out of range

goroutine 1937020 [running]:
github.com/wernerd/GoRTP/src/net/rtp.(*DataPacket).Payload(0xc422cf4770, 0xc4236d7a10, 0xef9d273c61c19b01, 0xc42136c4a0)
/home/albert/code/gocode/src/github.com/wernerd/GoRTP/src/net/rtp/packets.go:381 +0x106
github.com/wernerd/GoRTP/src/net/rtp.(*SsrcStream).recordReceptionData(0xc4200dc240, 0xc422cf4770, 0xc422e8e000, 0x1578b7d9d46f7f6a, 0xc422096501)
/home/albert/code/gocode/src/github.com/wernerd/GoRTP/src/net/rtp/stream.go:493 +0xe5
github.com/wernerd/GoRTP/src/net/rtp.(*Session).OnRecvData(0xc422e8e000, 0xc422cf4770, 0x0)
/home/albert/code/gocode/src/github.com/wernerd/GoRTP/src/net/rtp/session.go:477 +0x28c
github.com/wernerd/GoRTP/src/net/rtp.(*TransportUDP).readDataPacket(0xc42055ee60)
/home/albert/code/gocode/src/github.com/wernerd/GoRTP/src/net/rtp/transportUDP.go:170 +0x171
created by github.com/wernerd/GoRTP/src/net/rtp.(*TransportUDP).ListenOnTransports
/home/albert/code/gocode/src/github.com/wernerd/GoRTP/src/net/rtp/transportUDP.go:64 +0x14a

Question about sorting multiple remote streams

Apologies if this is an RTFM fail on my part.

I'm trying to use this library to connect to multiple remotes, each of which is sending their own stream. I'd like to be able to sort out which incoming packet comes from which remote, without opening different ports for each remote. What's the best way to handle this? I see there's an address attribute of RawPacket, but it's private. What am I missing?

If there's a better channel for this question I'd be happy to redirect it. Thanks.

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.