Opening Video File To Play

Home » Asterisk Users » Opening Video File To Play
Asterisk Users No Comments

I am trying to play a video file. It is failing saying

*File /tmp/video does not exist in any format
*>* Unable to open /tmp/video (format ulaw|h263|h264)*

I am setting the video codec h263 in the call file. File exists and is readable by all.

looking at the code and attaching with the debugger. The last line below is where its failing. Its passing the file exists part and seems like its checking for AST_MEDIA_TYPE_AUDIO and of course its h263
video – so its failing.

Then I do not see any case for a AST_MEDIA_TYPE_VIDEO.

What am I missing here to call a softphone and play a video file?

Thanks,

Jerry
———-