Git Product home page Git Product logo

hook-flash's People

Contributors

k-anderson avatar lazedo avatar tickbw avatar

Stargazers

 avatar  avatar

Watchers

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

hook-flash's Issues

no sound when calling from rtmp test client

Hello!
I tried to use your version of siprtmp_gevent.py.
I execute it:
python siprtmp_gevent.py -g sip-proxy-address -d
Fri Jun 26 11:27:50 2015 Fast SIP-RTMP Gateway Starts - 0.0.0.0:1935

I succesfully registered testclient (VideoPhone) on my SIP-PBX, but when I try make call to other testclient or softphone I don't hear anything and see this messages in log:

TypeError: object of type 'RTP' has no len()
[14:03:23] Petr Simanov: receive RTP exception (<type 'exceptions.TypeError'>, TypeError("object of type 'RTP' has no len()",), <traceback object at 0x29b8710>)
Traceback (most recent call last):
File "/usr/src/rtmplite/p2psip/std/rfc3550.py", line 785, in receiveRTP
if self.app: self.app.receivedRTP(data, remote, self.src)
File "/usr/src/p2psip/std/rfc3550.py", line 496, in receivedRTP
if hasattr(self.app, 'received') and callable(self.app.received): self.app.received(member, p)
File "/usr/src/rtmplite/p2psip/app/voip.py", line 747, in received
self.app.received(media=self, fmt=self._getMyFormat(packet.pt), packet=packet)
File "siprtmp_gevent.py", line 1376, in received
self.sip_data(fmt, packet)
File "siprtmp_gevent.py", line 1380, in sip_data
p = rfc3550.RTP(data) if not isinstance(data, rfc3550.RTP) else data
File "/usr/src/rtmplite/p2psip/std/rfc3550.py", line 74, in init
if len(value) < 12: raise ValueError, 'RTP packet must be at least 12 bytes'

What wrong? How I can fix it?
When I use original version of siprtmp_gevent from https://github.com/theintencity/rtmplite/blob/master/siprtmp.md I can't define sip-proxy, but calling works well.

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.