Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Movie stalls after some reconnections



Hi,

There is something weird happening on my application. In a nutshell, my application has a button that stops a RTSP stream being played in my QuickTime OCX control and another one that reconnects to the same RTSP stream. Everything works fine during the first 30 minutes or so pressing my Stop and Start buttons (these are NOT the QuickTime Pause and Play buttons on the movie controller). However, the stream will eventually stall and the "Connecting..." message will be displayed in the movie controller status area. I can still see the stream when connecting with the Apple QuickTime Player itself. Here is the a code snippet of my implementation (very simple BTW):

<code>

void MyClass::OnStop()
{
	m_QTControl.GetMovie().Stop();
	m_QTControl.GetMovie().Disconnect();
}

void MyClass::OnStart()
{
	m_QTControl.SetUrl( m_strStreamURL );
	m_QTControl.GetMovie().Play(m_playRate); 
}

</code>

I tried removing the call to the Disconnect() method - same results. 

The questions are: Am I doing something wrong? Am I forgetting to do something here?

BTW: I recall someone from the QuickTime team (Tom McHale if I'm mistaken) mentioned that a QuickTime COM<OCX would be available. I've looked everywhere, with no success. Do you know any good QuickTime COM/OCX documentation available for download?

Best regards,
-Leonardo

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.