[Asterisk-code-review] Add the ability to read the media file type from HTTP header... (asterisk[15])

Gaurav Khurana asteriskteam at digium.com
Mon Feb 26 20:38:08 CST 2018


Gaurav Khurana has posted comments on this change. ( https://gerrit.asterisk.org/8209 )

Change subject: Add the ability to read the media file type from HTTP header for playback
......................................................................


Patch Set 4:

(1 comment)

https://gerrit.asterisk.org/#/c/8209/4/include/asterisk/mod_format.h
File include/asterisk/mod_format.h:

https://gerrit.asterisk.org/#/c/8209/4/include/asterisk/mod_format.h@47
PS4, Line 47: 	char mime_types[80]; /*!< MIME Types related to the format (separated by | if more than one)*/
> > How many mime types can there be that refer to the same format? 
Sorry for getting lost on this. I was totally stuck on another issue with Asterisk 15 that completely blocked me from getting here.
Sorry for the naive question - What's ABI?
Is there anything you guys could recommend doing that helps with not breaking it and making the solution good for future releases as well?

@Sean: I understand you not liking parsing the string on every request. I wonder if it should be an array of strings or a dynamic linked list (assuming that by list you meant linked list)



-- 
To view, visit https://gerrit.asterisk.org/8209
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: comment
Gerrit-Change-Id: I1b14692a49b2c1ac67688f58757184122e92ba89
Gerrit-Change-Number: 8209
Gerrit-PatchSet: 4
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Gaurav Khurana <gkhurana at godaddy.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-Comment-Date: Tue, 27 Feb 2018 02:38:08 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180226/1e3cd3c5/attachment.html>


More information about the asterisk-code-review mailing list