Posted: Thu Oct 25, 2007 10:52 am Post subject: [Asterisk-video] Drop video packets on video change (Issue#1
Hi Sergio!
I just tested the code... It really is a lot better than before. Each
video still has a delay (~1 sec) but the delays do not add up when
switching between videos a lot. I think this is a great improvement for
the usability... Thanks a lot.
You didn't implement this for app_rtsp though, right? Could you do that
or is this very hard?
Greetings,
Thomas
Sergio Garcia Murillo schrieb:
Quote:
I've just added a version to the repository that implements it.
When it detects a change in the src of the frame to send it just reset
the media queue frame in libh324m.
The src is randomized in each mp4_play so each time you send a video
it should dump all the previous
packet in the queue.
Posted: Thu Oct 25, 2007 7:15 pm Post subject: [Asterisk-video] Drop video packets on video change (Issue#1
Great news then, I'll implement in for app_rtsp this weekend..
----- Original Message -----
From: "Thomas Frieling" <thomas.frieling@viif.de>
To: "Development discussion of video media support in Asterisk"
<asterisk-video@lists.digium.com>
Sent: Thursday, October 25, 2007 12:44 PM
Subject: Re: [Asterisk-video] Drop video packets on video change (Issue#15)
Quote:
Hi Sergio!
I just tested the code... It really is a lot better than before. Each
video still has a delay (~1 sec) but the delays do not add up when
switching between videos a lot. I think this is a great improvement for
the usability... Thanks a lot.
You didn't implement this for app_rtsp though, right? Could you do that
or is this very hard?
Greetings,
Thomas
Sergio Garcia Murillo schrieb:
> I've just added a version to the repository that implements it.
> When it detects a change in the src of the frame to send it just reset
> the media queue frame in libh324m.
> The src is randomized in each mp4_play so each time you send a video
> it should dump all the previous
> packet in the queue.
>
> Use it with care, it may seg fault.. :)
>
> BR
> Sergio
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Tue Oct 30, 2007 7:59 am Post subject: [Asterisk-video] Drop video packets on video change (Issue#1
Hi Sergio,
Here are my dial plan:
[sipphone]
exten => call,1,h324m_gw_answer()
exten => call,2,Dial(SIP/1005@openser)
I just found out that the addition of
H324MSessionResetMediaQueue inside app_h324m_gw
function made my asterisk suffered.
after h324m_gw_answer, my asterisk just hang and send
hangup cause 16, but it won't go to sip party(no sip
bye message). Also this line "Dial" wasn't called by
asterisk. the cpu goes to 99,4%.
So in order to make callin work again, i commented
H324MSessionResetMediaQueue line.
Great news then, I'll implement in for app_rtsp this
weekend..
----- Original Message -----
From: "Thomas Frieling" <thomas.frieling@viif.de>
> Hi Sergio!
>
> I just tested the code... It really is a lot
better than before. Each
> video still has a delay (~1 sec) but the delays do
not add up when
> switching between videos a lot. I think this is a
great improvement for
> the usability... Thanks a lot.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Fri Nov 02, 2007 3:48 pm Post subject: [Asterisk-video] Drop video packets on video change (Issue#1
Hi Sergio!
We have found some more problems:
There seems to exist a memory leak: When switching between videos a lot
during one call the amount of memory consumed by asterisk increases
steadily. We had asterisk consume 3% (of 4GB) more memory after only one
call. I think this could be because of mp4play not clearing the buffers
or because we disabled logging to /tmp.
Another problem is that some videos cannot be played with mp4play while
rtsp works. I can send you some examples if you want to . Would be great
if you could implement the "drop packets" thing for rtsp as soon as
possible so that we can use streaming again.
Thanks,
Thomas
Sergio Garcia Murillo schrieb:
Quote:
Great news then, I'll implement in for app_rtsp this weekend..
----- Original Message -----
From: "Thomas Frieling" <thomas.frieling@viif.de>
To: "Development discussion of video media support in Asterisk"
<asterisk-video@lists.digium.com>
Sent: Thursday, October 25, 2007 12:44 PM
Subject: Re: [Asterisk-video] Drop video packets on video change (Issue#15)
> Hi Sergio!
>
> I just tested the code... It really is a lot better than before. Each
> video still has a delay (~1 sec) but the delays do not add up when
> switching between videos a lot. I think this is a great improvement for
> the usability... Thanks a lot.
>
> You didn't implement this for app_rtsp though, right? Could you do that
> or is this very hard?
>
> Greetings,
> Thomas
>
>
> Sergio Garcia Murillo schrieb:
>
>> I've just added a version to the repository that implements it.
>> When it detects a change in the src of the frame to send it just reset
>> the media queue frame in libh324m.
>> The src is randomized in each mp4_play so each time you send a video
>> it should dump all the previous
>> packet in the queue.
>>
>> Use it with care, it may seg fault.. :)
>>
>> BR
>> Sergio
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-video mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-video
>>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
>
>
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum