Hi I have made a plugin that streams fine to the appleTV but dont seem to work in any other client.
its linking to a html5 video stream that is playing an mp4 video
this link has expired but basically I am linking to video feeds like this
https://redirector.googlevideo.com/videoplayback?requiressl=yes&id=cdb7a0783bbaab40&itag=18&source=webdrive&app=texmex&ip=2607:5300:60:400f::1&ipbits=32&expire=1453294810&sparams=requiressl%2Cid%2Citag%2Csource%2Cip%2Cipbits%2Cexpire&signature=2691895132BDC7BF9B4E2B0EAF548D72E7A2DB5B.6E174A1B5E3694E342FF581BE5357BBAAF6BD497&key=ck2&mm=30&mn=sn-p5qlsnzy&ms=nxu&mt=1453280380&mv=m&nh=IgpwcjAzLmlhZDA3Kg0yNjA3OjUzMDA6OmFl&pl=42,43&cpn=&c=WEB&cver=html5
linking to the video this redirects to don’t make any difference
the video is being added with this code
oc.add(CreateVideoClipObject(
url=vidurl,
title=title,
thumb=url
))
def CreateVideoClipObject(url, title, thumb, container = False):
vco = VideoClipObject(
key = Callback(CreateVideoClipObject, url = url, title = title, thumb = thumb, container = True),
#rating_key = url,
url = url,
title = title,
thumb = GetThumb(thumb),
items = [
MediaObject(
# container = Container.MP4, # MP4, MKV, MOV, AVI
# video_codec = VideoCodec.H264, # H264
# audio_codec = AudioCodec.AAC, # ACC, MP3
# audio_channels = 2, # 2, 6
# parts = [PartObject(key=Callback(PlayVideo, url = url))]
video_codec = VideoCodec.H264,
audio_codec = AudioCodec.MP3,
video_resolution = ‘720’,
audio_channels = 2,
container = ‘mp4’,
parts=[
PartObject(
# key = url
key = HTTPLiveStreamURL(url)
)
],
optimized_for_streaming = True
)
]
)
if container:
return ObjectContainer(objects = [vco])
else:
return vco
return vco