-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable parsing Video media from SDP #96
Comments
What error are you getting? Can you post the stack trace here? Eventually, video may be supported by pyVoIP so I'd rather fix the error instead of using a |
I can not reproduce this situation now because I don't have this device (which send 200 OK answer with SDP with video part) in my hands until monday, so I can't post stack trace. But as I remember there was a problem with this method: Line 311 in 765cb1f
Where Payload Type in SDP message is H264 and then there is rised exception: Line 332 in 765cb1f
(BTW with incorrect {p} value - it isn't set anywhere when Exception occur)
I know that H264 isn't even on the list of Payloads but this device which I'm trying to use with PyVOIP library (touch panel for home alarm) is always sending |
Ok, if there is an error because |
Yes, I'm using Master - version 1.6.3. For now - if there is |
Fixed #55 Fixed #96 Fixed #146 Co-authored-by: SEIDO-JP <[email protected]>
Hi,
For now - when client e.g. answer for INVITE with SDP which contain Video Media type -> library is not working properly.
There is example SDP which I'm talking about:
Maybe there is a possibility to disable parsing video part and treat such device as audio only (because PyVoIP do not support video).
My proposition just for now is add:
if i['type'] == 'video': continue
there:
pyVoIP/pyVoIP/VoIP.py
Lines 311 to 315 in 765cb1f
and there:
pyVoIP/pyVoIP/VoIP.py
Line 124 in 765cb1f
I mean something like this:
Best regards,
Jakub
The text was updated successfully, but these errors were encountered: