Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
DSS on non PPC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DSS on non PPC



Hi

The Broadcaster can show the number of clients when it broadcasts with UDP.
But when your DSS is running on a little-endian machine this value is
always 1 (or 0 when there is a firewall eating packets).


In APIModules/ReflectorStream.cpp is a method called

	ReflectorStream::ReflectorStream(SourceInfo::StreamInfo* inInfo)

there is a line

	*theRRWriter = FOUR_CHARS_TO_INT('Q','T','S','S');

change these line to

	*theRRWriter = htonl(FOUR_CHARS_TO_INT('Q','T','S','S'));

then your little-endian server can also send the correct viewerinfo
to your broadcaster.

Denis

PS: If someone @apple adds this a small note would be nice.
_______________________________________________
streaming-server-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
Do not post admin requests to the list. They will be ignored.




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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.