[Verse-dev] Audio streaming and verse_callback_update()

Emil Brink emil at obsession.se
Fri Dec 2 16:05:09 CET 2005


Samuel Siltanen wrote:
> On Fri, 2 Dec 2005, Emil Brink wrote:
> 
>> [localhost or networked?]
>>
>>> I actually do it over a network. The command "ping" gives an average 
>>> delay of about 100 ms.
>>
>>
>> Oh, so quite a long distance then. Daring.
> 
> 
> Sorry, my mistake. They were microseconds not milliseconds. I just could 
> not find 'µ' from my keyboard ;-)

Aha. Sometimes 'u' is used in place of µ for that reason, and it's
easy enough to understand in the proper context. But nevermind. :)

>> Yeah, something like that sounds sensible. Have you tried printing out 
>> the value of verse_session_get_size() in the sending client? This tells
 >> you how much unreceived data is still in the buffers managed by 
Verse, and
>> might help shed more light on what is going on, here.
> 
> 
> I tried this. In a few seconds the buffer of 5240000 bytes is filled. 
> This happens when there are no receivers running yet. Is this expected 
> behavior? At least it hangs the receiver efficiently...
                                   ^^^^^^^^
This has me a bit confused. I guess it should say "sender"? Otherwise I
don't understand it, since you said there were no receivers running,
they probably can't hang.

Still, I guess the behaviour you're seeing is indicative of there
being something wrong, somewhere. The server (as Eskil pointed out
in his reply) should be there and receive the data from the sender,
and ACK it back so the sender can clear its outgoing packet history.
If that's not happening, something is ... odd.

Regards,

/Emil


More information about the Verse-dev mailing list