Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Network streaming: Delay
Started by ShodawN at 07-16-2008 7:06. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  07-16-2008, 7:06
ShodawN is not online. Last active: 7/16/2008 11:50:47 AM ShodawN

Top 500 Posts
Joined on 07-15-2008
Posts 11
Network streaming: Delay
Reply Quote
Hello,

I'm developing a videoconference application on VB.NET 2005 using Multimedia SDK v15.

When i start the videoconference i have 1 second delay, but 20 minutes later i have 3 seconds delay.
What's happend?

I'm using DivX as video codec and GSM as audio codec.

Thank you

   Report 
  07-16-2008, 10:50
Yasir Alani is not online. Last active: 11/16/2008 11:29:23 AM Yasir Alani



Top 10 Posts
Joined on 02-05-2007
Posts 290
Re: Network streaming: Delay
Reply Quote
Do you get this delay also when using one of our codecs instead of DivX?

Also, can you reproduce this using one of our demos, or you only get it using your application?


Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
  07-17-2008, 6:19
ShodawN is not online. Last active: 7/16/2008 11:50:47 AM ShodawN

Top 500 Posts
Joined on 07-15-2008
Posts 11
Re: Network streaming: Delay
Reply Quote
Hello,

I had try with H264 for video and AMR for audio (like your videoconference example), but the delay increases too (less than with DivX).
Whit your demos i have not delay increment.

My code...

Capture:
-----------------------------
        ctrlEmisor = New AxltmmCaptureCtrl
        ctrlEmisor.Dock = DockStyle.Fill
        ctrlEmisor.VideoDevices.Selection = mVideoDeviceID
        ctrlEmisor.AudioDevices.Selection = mAudioDeviceID
        ctrlEmisor.VideoCaptureSizes.Selection = GetResolutionIndex(mCaptureX, mCaptureY)
        ctrlEmisor.VideoWindowSizeMode = LTMMLib.ltmmSizeMode.ltmmFit
        ctrlEmisor.UseFrameRate = True
        ctrlEmisor.FrameRate = mCaptureFPS
        ctrlEmisor.VideoCompressors.Selection = mVideoCodec
        ctrlEmisor.AudioCompressors.Selection = mAudioCodec
        ctrlEmisor.TargetType = LTMMLib.ltmmCapture_Target.ltmmCapture_Target_Stream
        ctrlEmisor.TargetFormat = LTMMLib.ltmmConvert_TargetFormat.ltmmConvert_TargetFormat_NET
        ctrlEmisor.Preview = True
        SetH264Settings()
        mTarget = "ltsf://" & ip
        ctrlEmisor.TargetFile = mTarget
        ctrlEmisor.StartCapture(0)

        Dim netMux As LMNetMuxLib.ILMNetMux
        netMux = ctrlEmisor.GetSubObject(LTMMLib.ltmmCapture_Object.ltmmCapture_Object_TargetFilter)
        netMux.LiveSource = True
        netMux.MaxQueueDuration = 0.1
-----------------------------
Note: SetH264Settings method set the video codec like your demo (copy&paste).

Player:
-----------------------------
        ctrlReceptor = New AxltmmPlayCtrl()
        ctrlReceptor.Dock = DockStyle.Fill
        mTarget = "ltsf://" & ip
        ctrlReceptor.sourcefile = mTarget
-----------------------------

Thank you


   Report 
  07-17-2008, 10:57
Yasir Alani is not online. Last active: 11/16/2008 11:29:23 AM Yasir Alani



Top 10 Posts
Joined on 02-05-2007
Posts 290
Re: Network streaming: Delay
Reply Quote
Sometimes the delay depends on the values you're using, such as frame rate.

Please put your code in a small working project (not your full application), pack your project in a ZIP or RAR file and post it here.

If you don't want to post your project here, you can email it to support@leadtools.com, and mention this forum post in the email.
Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » Multimedia » Re: Network streaming: Delay

Powered by Community Server, by Telligent Systems