Bossman it works in VlC and TVheadend player. It will not work in my middle-ware,
Perhaps this suggests a problem with your middleware.
If your URLs look something like this: http://localhost:9981/stream/channelid/1824004648?profile=pass
Then TVH is just passing the stream as it is received from the broadcaster. Is it possible that your middleware does not recognise the format used by the broadcaster?
Have a look in Config/Stream/Profile and see what other profiles are available. Perhaps your middleware may be able to understand one of those.