hook-flash's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.