search for: fileexists_core

Displaying 1 result from an estimated 1 matches for "fileexists_core".

2016 Dec 20
4
I think this is a bug (video call file) 11.25.1 and 13.13.1
...I do specify also the Codecs: h264,h263 etc... Asterisk reports: *File /tmp/video does not exist in any format *>* Unable to open /tmp/video (format ulaw|h263|h264)* Looking then at the code and attaching with the debugger. the ast_openstream_full() function has this condition: if (!fileexists_core(filename, NULL, preflang, buf, buflen, file_fmt_cap) || !ast_format_cap_has_type(file_fmt_cap, AST_MEDIA_TYPE_AUDIO)) { } So fileexists_core() returns 1 but the next call to ast_format_cap_has_type() fails. because its looking for AST_MEDIA_TYPE_AUDIO and the file is a vi...