Wowza HTTP streaming

2,324 views
Skip to first unread message

Sajjad

unread,
Nov 7, 2012, 12:38:51 PM11/7/12
to stalker-m...@googlegroups.com
Hi,

when I try to add the module to Wowza and restart the media server I get error Session Not Accepted in the wowzamediaserver_access.log

For the properties in my Application.xml file I added the following:


<Property>
    <Name>stalkerApiServer</Name>
    <Value>http://IPAddressOfServer/stalker_portal/api/</Value>
</Property>


Now whenever I try to load a playlist.m3u8 file it says Session not accepted... This is the exact output: HTTPStreamerAdapterCupertinoStreamer.onPlaylist[live/test/playlist.m3u8]: Session not accepted[546558470]

What am I doing wrong?

tos

unread,
Nov 8, 2012, 5:46:01 AM11/8/12
to stalker-m...@googlegroups.com
STB must be request url like
http://wowza-server:port/live/test/playlist.m3u8?<some_tmp_symbols>
Check this

среда, 7 ноября 2012 г., 19:38:51 UTC+2 пользователь Sajjad написал:

Aleksey Zhurbitsky

unread,
Nov 8, 2012, 5:50:50 AM11/8/12
to stalker-m...@googlegroups.com
If you open link
in the browser what you see?

Sajjad

unread,
Nov 8, 2012, 6:05:18 AM11/8/12
to stalker-m...@googlegroups.com
If I open that link I get a 404 error. If I just go to the api page I get

{"status":"ERROR","results":null,"error":"Empty resource"}

When I add the module for Wowza and load up the HLS stream using VLC I get this error 'access_http error: error: HTTP/1.0 403 Forbidden'

However when I remove the module it works fine again.

Sajjad

unread,
Nov 8, 2012, 6:06:21 AM11/8/12
to stalker-m...@googlegroups.com
Hi,

It is requesting this and if I look at my wowza access log I can see that a connection is established but it says Session not accepted. It does keep on generating temporary links due to the dynamic playlist obviously but Wowza isn't accepting the connection.

Aleksey Zhurbitsky

unread,
Nov 8, 2012, 6:19:26 AM11/8/12
to stalker-m...@googlegroups.com
You must correctly configure mod_rewrite in apache.

As a result, you should see
{"status":"ERROR","results":null,"error":"Empty token"}

When I add the module for Wowza and load up the HLS stream using VLC...
This module is for secure streaming, HLS will not work in the VLC player, only on STB with Stalker middleware. 

tos

unread,
Nov 8, 2012, 8:53:26 AM11/8/12
to stalker-m...@googlegroups.com
HLS work on VLC 2.0.3 and higher

четверг, 8 ноября 2012 г., 13:19:26 UTC+2 пользователь Aleksey Zhurbitsky написал:

Aleksey Zhurbitsky

unread,
Nov 8, 2012, 8:56:51 AM11/8/12
to stalker-m...@googlegroups.com
I know. I mean Wowza module infomir-tmplink works only with STB.

Sajjad

unread,
Nov 8, 2012, 9:08:56 AM11/8/12
to stalker-m...@googlegroups.com
Thanks. I am using the STB emulator for Android but not getting the desired results although Wowza isn't nagging anymore. Waiting for the test unit, will check further on that one.

tos

unread,
Nov 8, 2012, 9:16:39 AM11/8/12
to stalker-m...@googlegroups.com
Утверждение было 

" HLS will not work in the VLC player "

Я, кстати, тоже далеко не сразу запустил этот модуль в временными ссылками.
Не то, чтобы в вики неверно написано. Просто информации там недостаточно.
Вот собственные выводы, которые были получены после декомпиляции модуля и изучения скриптов
1. Должен быть запущен memcached. Не то, чтобы этого нет в вики, но именно на страничке про вовзу - ни слова.
2. Ссылки указывать в обычном для wowza HLS формате (ну неочевидно это, потому что нигде не сказано, что работает именно HLS) с солюшеном ffmpeg:
 ffmpeg http://wowzaserver:port/app/atreamname/playlist.m3u8 
3. Портал для STB формирует ссылку вида
http://wowzaserver:port/app/atreamname/playlist.m3u8?<tmpkey>
И если у меня в querystring используются свои ключи - работать скорее всего не будет.

четверг, 8 ноября 2012 г., 15:56:51 UTC+2 пользователь Aleksey Zhurbitsky написал:

Aleksey Zhurbitsky

unread,
Nov 8, 2012, 10:10:02 AM11/8/12
to stalker-m...@googlegroups.com
Утверждение было 
Было, но в контексте всего предложения.

 И если у меня в querystring используются свои ключи - работать скорее всего не будет.
100% не будет

ну неочевидно это, потому что нигде не сказано, что работает именно HLS
Ну как же, опция то называется "Временная HTTP ссылка".

tos

unread,
Nov 8, 2012, 10:18:32 AM11/8/12
to stalker-m...@googlegroups.com
wowza, кроме HLS замечательно умеет стримить HDS, Smooth Streaming.
А это тоже HTTP.
Ну и о том, что HLS работает с солюшеном ffmpeg можно узнать только после вдумчивого изучения описания API и этой группы. 
Для Вас оно конечно очевидно - вы работаете с этим ежедневно, видимо с этим связана такая краткость в вики.
Я делюсь опытом, чтобы народ по граблям меньше ходил.

четверг, 8 ноября 2012 г., 17:10:02 UTC+2 пользователь Aleksey Zhurbitsky написал:
Reply all
Reply to author
Forward
0 new messages