home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Bugreports
Archive
No connection could be made because the target machine actively refused it
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Snoopy87" data-source="post: 1136102" data-attributes="member: 128461"><p>YEEEEEEEEEEEEES! I GOT IT! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>Instead of compiling the debug version of StreamingServer I compiled the Release version and now it works!</p><p></p><p>FramedSource.cpp of LiveMedia555</p><p>[CODE=C++]void FramedSource::getNextFrame(unsigned char* to, unsigned maxSize,</p><p> afterGettingFunc* afterGettingFunc,</p><p> void* afterGettingClientData,</p><p> onCloseFunc* onCloseFunc,</p><p> void* onCloseClientData) {</p><p> // Make sure we're not already being read:</p><p> if (fIsCurrentlyAwaitingData) {</p><p> envir() << "FramedSource[" << this << "]::getNextFrame(): attempting to read more than once at the same time!\n";</p><p> exit(5); // <--- Sascha: HERE IT IS EXITING! :-)</p><p> }</p><p></p><p> fTo = to;</p><p> fMaxSize = maxSize;</p><p> fNumTruncatedBytes = 0; // by default; could be changed by doGetNextFrame()</p><p> fDurationInMicroseconds = 0; // by default; could be changed by doGetNextFrame()</p><p> fAfterGettingFunc = afterGettingFunc;</p><p> fAfterGettingClientData = afterGettingClientData;</p><p> fOnCloseFunc = onCloseFunc;</p><p> fOnCloseClientData = onCloseClientData;</p><p> fIsCurrentlyAwaitingData = True;</p><p></p><p> doGetNextFrame();</p><p>}[/CODE]</p></blockquote><p></p>
[QUOTE="Snoopy87, post: 1136102, member: 128461"] YEEEEEEEEEEEEES! I GOT IT! :D Instead of compiling the debug version of StreamingServer I compiled the Release version and now it works! FramedSource.cpp of LiveMedia555 [CODE=C++]void FramedSource::getNextFrame(unsigned char* to, unsigned maxSize, afterGettingFunc* afterGettingFunc, void* afterGettingClientData, onCloseFunc* onCloseFunc, void* onCloseClientData) { // Make sure we're not already being read: if (fIsCurrentlyAwaitingData) { envir() << "FramedSource[" << this << "]::getNextFrame(): attempting to read more than once at the same time!\n"; exit(5); // <--- Sascha: HERE IT IS EXITING! :-) } fTo = to; fMaxSize = maxSize; fNumTruncatedBytes = 0; // by default; could be changed by doGetNextFrame() fDurationInMicroseconds = 0; // by default; could be changed by doGetNextFrame() fAfterGettingFunc = afterGettingFunc; fAfterGettingClientData = afterGettingClientData; fOnCloseFunc = onCloseFunc; fOnCloseClientData = onCloseClientData; fIsCurrentlyAwaitingData = True; doGetNextFrame(); }[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugreports
Archive
No connection could be made because the target machine actively refused it
Contact us
RSS
Top
Bottom