Skip to content
Snippets Groups Projects
  • Joshua Colp's avatar
    3ed05bad
    core: Add stream topology changing primitives with tests. · 3ed05bad
    Joshua Colp authored
    This change adds a few things to facilitate stream topology changing:
    
    1. Control frame types have been added for use by the channel driver
    to notify the application that the channel wants to change the stream
    topology or that a stream topology change has been accepted. They are
    also used by the indicate interface to the channel that the application
    uses to indicate it wants to do the same.
    
    2. Legacy behavior has been adopted in ast_read() such that if a
    channel requests a stream topology change it is denied automatically
    and the current stream topology is preserved if the application is
    not capable of handling streams.
    
    Tests have also been written which confirm the multistream and
    non-multistream behavior.
    
    ASTERISK-26839
    
    Change-Id: Ia68ef22bca8e8457265ca4f0f9de600cbcc10bc9
    3ed05bad
    History
    core: Add stream topology changing primitives with tests.
    Joshua Colp authored
    This change adds a few things to facilitate stream topology changing:
    
    1. Control frame types have been added for use by the channel driver
    to notify the application that the channel wants to change the stream
    topology or that a stream topology change has been accepted. They are
    also used by the indicate interface to the channel that the application
    uses to indicate it wants to do the same.
    
    2. Legacy behavior has been adopted in ast_read() such that if a
    channel requests a stream topology change it is denied automatically
    and the current stream topology is preserved if the application is
    not capable of handling streams.
    
    Tests have also been written which confirm the multistream and
    non-multistream behavior.
    
    ASTERISK-26839
    
    Change-Id: Ia68ef22bca8e8457265ca4f0f9de600cbcc10bc9