Didier,

I would like to reinit all context for each profile.

After using this function, I does not look like doing a reset when I used for 
the first time a context of the compressor. One byte indicating the context 
choice is always in the header.

Regards

[@@ THALES GROUP INTERNAL @@]


-----Message d'origine-----
De : Rohc 
[mailto:[email protected]] De la 
part de Didier Barvaux
Envoyé : dimanche 2 août 2015 20:45
À : ROHC Library
Objet : Re: [Rohc] Reset Context

Hello,

> I would like to reset context (not returning to IR state) of 
> compressor/decompressor without destroying them, is it possible ?

The API function rohc_comp_force_contexts_reinit() forces the compressor to 
re-initialize all its contexts.

A call to that function makes all contexts restart their initialization with 
the remote decompressor, ie. they go in the lowest compression state. This 
function can be used once the ROHC channel is established again after a network 
interruption.

For more details, see the documentation:
https://rohc-lib.org/support/documentation/API/rohc-doc-1.7.0/group__rohc__comp.html#gaff46258f600f27821e05fe6b69eaf976

Regards,
Didier

_______________________________________________
Mailing list: https://launchpad.net/~rohc
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~rohc
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~rohc
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~rohc
More help   : https://help.launchpad.net/ListHelp

Reply via email to