언어 설정

Menu
Sites
Language
Gear s video stream
~<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets"  version="1.0.0" viewmodes="maximized">
     <access origin="*" subdomains="true"></access>
    <tizen:allow-navigation>*</tizen:allow-navigation>
    <tizen:application id="HculR1KOV5.DemoApp" package="HculR1KOV5" required_version="2.2"/>
    <content src="index.html"/>
     <tizen:content-security-policy>script-src 'self'</tizen:content-security-policy>
    <feature name="http://tizen.org/feature/screen.size.all"/>
    <feature name="http://tizen.org/feature/network.internet"/>
    <feature name="http://tizen.org/feature/network.wifi"/>
    <feature name="http://tizen.org/feature/network.bluetooth"/>
    <icon src="icon.png"/>
    <name>DemoApp</name>
     <tizen:privilege name="http://tizen.org/privilege/internet"/>
    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
</widget>

Hoping someone could help out a novice here.

I am trying to create a window to play a live camera stream, I have tried <img <iframe <video tags and they work on the IDE preview but not on the emulator or device. My options for the video stream are http and rtsp:

xxx.xxx.xxx.xxx:8887/jpeg?cam=01

xxx.xxx.xxx.xxx:8887/mjpeg?cam=01

xxx.xxx.xxx.xxx:8887/cam_video_rs.cgi.jpg?cam=01

xxx.xxx.xxx.xxx:8554/cam1_stream2

I am pretty sure the config file has everything it needs


Any pointers in the right direction would be most welcome, Hoping I am just over seeing something.

 

Responses

3 댓글
AVSukhov

Hello,

Try to switch off the bluetooth and connect wifi

Robert Michaels

Thank you for your reply, I tried with both wifi and mobile data but no luck. I did find this in the debug console:

~Resource interpreted as Image but transferred with MIME type multipart/x-mixed-replace: "xxxx://xxx.com:8887/jpeg?cam=6"

I did try linking to a webpage with an <img set to just the address as I have seen recomendations for that error but it still doesn't load.

Vikram

Hi,

is it possbile to try it with this kind of video tag?

    <video id="video"
            src="http://content.bitsontherun.com/videos/q1fx20VZ-52qL9xLP.mp4"  preload="auto"      controls  loop autoplay>
     </video>

Regards,