[asterisk-bugs] [JIRA] (ASTERISK-26816) Implement ast_read_stream in channels

Joshua Colp (JIRA) noreply at issues.asterisk.org
Thu Feb 23 12:36:10 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-26816:
-----------------------------------

    Description: 
Function should read frames from everything, if a stream then provide stream number to caller
If stream is a default stream and transcoding is present on channel for the type then pass through translation path
If stream is a default audio stream then execute audiohooks as expected
If stream is a default stream then execute framehooks as expected
Make ast_read in channels use streams underneath
If returned frame is a media frame and stream is NOT a default stream then free returned frame and return ast_null_frame instead

  was:
Given specific stream number the frame should be provided to channel driver using write_stream if supported
If write_stream is not present and stream is a default stream use write on channel technology
If stream is a default stream and transcoding is present on channel for the type then pass through translation path
If stream is a default audio stream then execute audiohooks as expected
If stream is a default stream then execute framehooks as expected
Make ast_write in channels use streams underneath
Using type of frame determine default stream to use and provide to ast_write_stream
If not a media frame then execute logic (DTMF, control, etc) as it exists already


> Implement ast_read_stream in channels
> -------------------------------------
>
>                 Key: ASTERISK-26816
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26816
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>            Reporter: Joshua Colp
>            Assignee: Joshua Colp
>
> Function should read frames from everything, if a stream then provide stream number to caller
> If stream is a default stream and transcoding is present on channel for the type then pass through translation path
> If stream is a default audio stream then execute audiohooks as expected
> If stream is a default stream then execute framehooks as expected
> Make ast_read in channels use streams underneath
> If returned frame is a media frame and stream is NOT a default stream then free returned frame and return ast_null_frame instead



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list