Problems using hls & evo-webserver

Problems using hls & evo-webserver

Support ForumCategory: Integration and CustomizationProblems using hls & evo-webserver
rajkosto asked 10 years ago
I used this to create the group
createHLSStream localStreamNames=teststreamhd targetFolder=/var/evostreamms/media/hls groupName=teststreamhd createMasterPlaylist=1 bandwidths=3000 playlistName=playlist.m3u8 playlistType=rolling playlistLength=30 chunkBaseName=mov chunkLength=10 chunkOnIDR=1
I’ve also created that folder, chowned it to evostreamd:evostreamd, then set the webserver.lua root to also be /var/evostreamms/media/hls With group aliasing off in the webserver.lua, I can request http://localhost:8888/teststreamhd/playlist.m3u8 from VLC and it will play the stream perfectly. In the evo-webserver log/console i can see that the playlist filenames are being replaced with random letters, so this probably means that it’s detecting them properly. However, if i telnet into evostream:
listHttpStreamingSessions
{"data":[],"description":"Currently open HTTP streaming sessions","status":"SUCCESS"}
. In the evo-webserver log i see that it received request from origin to list the streaming sessions. Also, if i enable group aliasing in webserver.lua, i can no longer use http://localhost:8888/teststreamhd/playlist.m3u8 to play the stream (as expected). So in evostream telnet i do:
addGroupNameAlias groupName=teststreamhd aliasName=mycoolaliasname
{"data":{"aliasName":"mycoolaliasname","cliProtocolId":751884,"edges":[],"edgesCount":2,"groupName":"teststreamhd","lastUpdate":1421636423,"operation":"addGroupNameAlias","result":true,"uniqueRequestId":12772},"description":"Alias applied to group name","status":"SUCCESS"}
However, i then cannot use http://localhost:8888/mycoolaliasname/playlist.m3u8 to play the stream either. The alias was successfully made and is still there after i try playing with the altered url.
listGroupNameAliases
{"data":[{"aliasName":"mycoolaliasname","groupName":"teststreamhd"}],"description":"Currently available group name aliases","status":"SUCCESS"}
Am i misunderstanding how to configure evo-webserver to match the dumping path of evostreamms ? Or is this stuff just broken (especially listHttpStreamingSessions, which i REQUIRE to know the viewer count of each stream)



Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.