Video playback extremely slow, 1fps


#1

Asterisk 14.4 using PJSIP plays back recorded video at a rate of 1 frame per second. This extremely slow video playback is consistent across the board, but only with recorded video.

Regular peer to peer video calls work as expected.

The current suspicion is that there is a bug in PJSIP which is affecting the video playback of recorded video.

Possibly related to this issue:
https://issues.asterisk.org/jira/browse/ASTERISK-26554

Any help would be most appreciated.


#2

Asterisk does not use the PJSIP media stack at all. The only thing it uses media related is the SDP parser/negotiator. The problem is likely in the core or format modules, as a change in regards to timestamps was made to allow higher quality video to work when passing it through.


#3

Would you happen to know what or where that change was? I explored timing issues before as a likely culprit, but not as you are describing. I understand what your suggesting, just do not know where to start looking.


#4

The code review[1] that probably did it and the issue[2]. The file side of things probably doesn’t use the timestamps properly.

[1] https://gerrit.asterisk.org/#/c/3898/
[2] https://issues.asterisk.org/jira/browse/ASTERISK-26367


#5

Excellent! Thank you so much, we were able to roll back those changes from [1]https://gerrit.asterisk.org/#/c/3898/ , recompile PJProject/Asterisk and get the frame rate well above 1fps working with asterisk 14.4 and pjproject 2.5.5. We were not successful with PJProject 6 which may indicate an unrelated issue preventing the video from displaying all together. Further testing may reveal some additional information.

Edit: We were in fact able to get this working with PJProject 2.6. I apologize, I am overloaded and had to rely on the information given. I went back and verified on my own and it does in fact play on PJProject 2.6