The principle you are talking of (better known as Law of Demeter) for functions can be applied by adding another helper method to your streamer class like
{
frame = encoder->WaitEncoderFrame()
DoOrGetSomethingForFrame(frame);
...
}
void DoOrGetSomethingForFrame(Frame *frame)
{
frame->DoOrGetSomething();
}
IMHO it is a rough guideline which can help to create methods which follow more strictly the single responsibility principle. In a simple case like the one above it is probably very opinionated if this is really worth the hassle and if the resulting code is really "cleaner", or if it will just expand your code formally without any noteable gain.