Sie sind nicht angemeldet.

1

Mittwoch, 24. Juni 2015, 07:21

is it possible to make 360 video live streaming?

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<plugin name="video"        url.flash="plugins/videoplayer.swf"
        url.html5="plugins/videoplayer.js"
        videourl="http://27.112.2.66:1935/live/mystream/playlist.m3u8"
        posterurl="videoposter.jpg"
        pausedonstart="false"
        loop="false"
        volume="1.0"
        preferredformat=""
        buffertime="0.1"
        ignoremetadata="false"
        volume="1.0"
        onvideoready=""
        onvideoplay=""
        onvideopaused=""
        onvideocomplete=""
        />

<image hfov="360" vfov="180">
   <sphere url="plugin:video" />
</image>


"HTTP Live Streaming (.m3u, .m3u8) - iOS, Mac Safari only"



but only get a blackscreen

2

Freitag, 26. Juni 2015, 07:20

Hi,

due an iOS bug it's not possible to display video-panos loaded from other domains (note - even a different port is interpreted as different domain).

See here:
http://krpano.com/plugins/videoplayer/#h…nownbrowserbugs
http://krpano.com/ios/bugs/ios8-webgl-video-cors/
https://bugs.webkit.org/show_bug.cgi?id=135379

Best regards,
Klaus

3

Samstag, 27. Juni 2015, 09:44

thanks for the reply!

4

Montag, 21. September 2015, 20:39

If you serve the krpano files and HLS stream from the same domain you can get past the "DOM exception 18" error.


I've tried an initial test doing this, successfully avoiding that error, but am unable to get the video to render. The audio track is playing when using Safari Desktop, and it seems to also be playing on Safari iOS 9.0/iPhone, though, of course there's no audio in that case, and the counter keeps flashing between 0:00 and the current time (using the interface from the 'videointerface' example).

Any clue why the video might not be showing up? Would this be another example of the texture bug (https://bugs.webkit.org/show_bug.cgi?id=133511) which they claim is solved? Is there maybe an optimal bitrate/video size that would work?

5

Dienstag, 22. September 2015, 11:04

While I had problems playing streaming videos on iPhone6 but not on iPads, since I updated to iOS9 now even iPad is not playing the videos at all.
It seams that this is an iOS problem: https://discussions.apple.com/thread/7216194