Zanonimizowana wersja forum tylko do odczytu

HLS (m3u8) Error - Crossdomain Access!

Wszystko na temat innych serwerów streaming'u.
Post Reply
anonim
Posts: 4
Joined: 2015-04-12, 00:11

HLS (m3u8) Error - Crossdomain Access!

Post by anonim »

Hi,

my test live stream url http://46.101.29.200/hls/test.m3u8

I'm testing http://osmfhls.kutu.ru/

why error, Security sandbox violation. Flash Player doesn't have permission in crossdomain.xml


my nginx.conf

Code: Select all

#user  nobody; 

worker_processes  16; 

events { 
    worker_connections  5024; 
} 

http { 
    include       mime.types; 
    default_type  application/octet-stream; 

    sendfile        on; 
    #tcp_nopush     on; 

    #keepalive_timeout  0; 
    keepalive_timeout  65; 

    #gzip  on; 

    server { 
        listen       80; 
        server_name  localhost; 
        
        error_page   500 502 503 504  /50x.html; 
        location = /50x.html { 
        root   html; 
        }
		
        location / { 
            root   html; 
            index  index.html index.htm; 
        } 
        
        #istatistik
        location /istatistik { 
            rtmp_stat all; 
            rtmp_stat_stylesheet stat.xsl; 
        } 
        location /stat.xsl { 
            root html; 
        } 
        
        #token 
        location /on_play { 
            secure_link $arg_token,$arg_e; 
            secure_link_md5 juve$arg_addr$arg_e; 
            if ($secure_link = "") { 
                return 401; 
            } 
            if ($secure_link = "0") { 
                return 402; 
            } 
            #seninsiten
            if ($arg_pageurl !~* (http://mysite.mobi|http://www.mysite.mobi|http://127.0.0.1)) { 
            return 403; 
            } 
            return 200; 
        }	

		

    } 
} 

rtmp { 
    server { 
	    allow play all;
		allow publish 178.62.0.0;
		deny publish all;
        listen 1935; 
		chunk_size 4000;
        ping 5s; 
        ping_timeout 7s; 
        notify_method get; 
        publish_notify on; 
        drop_idle_publisher 10s; 
        busy on; 
		
        application live { 
            live on; 
			
			hls on;
            hls_path /usr/local/nginx/html/hls;
			hls_sync 200ms;
			hls_playlist_length 10s;
            hls_fragment 5s;
            hls_cleanup on;
            hls_type live;

			allow play all;
            idle_streams off; 
			
            #siteninipadresi
            on_play http://127.0.0.1/on_play; 
            #maximumbaglikullanicisayisi
            max_connections 100; 
        } 
    } 
}


[ Dodano: 2015-04-12, 16:31 ]
How did he do this? ----> http://www.canlitvlive.com/izle/atv.html

[ Dodano: 2015-04-12, 16:32 ]
thank you

anonim
Weteran
Posts: 826
Joined: 2013-05-04, 15:44

Post by anonim »

Please paste your crossdomain.xml file here.

anonim
Posts: 4
Joined: 2015-04-12, 00:11

Post by anonim »

jarek wrote:Please paste your crossdomain.xml file here.
thank you Jarek,

it was :)

how will it be m3u8 token? :)

Post Reply