Setting trace_callback inside rohc_comp_new2()
Asked by
BHASKAR TILAK
Instead of main() sample program, I am trying to set trace_callback inside rohc_comp_new2(), so that I can get all the prints right from compressor creation.
A have set it just after the compressor allocation.
However I see that, it is not printing anything once outside rohc_comp_new2(). I have defined the print_rohc_traces() in src/common/
Do I need to set trace_callback at the top level only ie inside main()?
Thanks,
- Bhaskar Tilak
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- rohc Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask BHASKAR TILAK for more information if necessary.
To post a message you must log in.