帮助列表
帮助列表
API文档-URL加密防盗链 <<返回

发布验证、播放验证:

客户端访问流媒体地址通过如下地址形式:

rtmp://1011.lsspublish.aodianyun.com/live/stream?k=***&t=***
rtmp://1011.lssplay.aodianyun.com/live/stream?k=***&t=***
http://1011.hlsplay.aodianyun.com/live/stream.m3u8?k=***&t=***

1、参数为k、t;
2、k为app+stream+密钥+时间戳的MD5码(32位);
3、t为服务器的时间从1970到现在的秒数;
4、时间戳生效时间为用户设置的失效时间。

 

示例:

app为live,stream为stream,设置的上麦密码为key,时间戳 = 1402887269,那么
k=md5_32(livestreamkey1402887269)= 8eead6d44a11c6d03b804d0cff9e2ee9
链接地址为:
rtmp:// 1011.lssplay.aodianyun.com /live/stream?k= 8eead6d44a11c6d03b804d0cff9e2ee9&t=1402887269

 

 

 


<<返回