Hi,
When run the listStreams command, we get many records with type of “OFHLS” ("type":"OFHLS") and with different uniqueIds for one specific stream name.
Ex –
{"port":0,"audio":{"bytesCount":0,"droppedPacketsCount":0,"codecNumeric":4707755069515235328,"packetsCount":0,"codec":"AUNK","droppedBytesCount":0},"typeNumeric":5712332670013276160,
"connectionType":3,"type":"OFHLS","uniqueId":17,"bandwidth":50000,"ip":"","appName":"evostreamms","hlsSettings":{"chunkLength":5,"createMasterPlaylist":true,"groupName":"hls_grp_test_stream_54",
"encryptStream":false,"masterPlaylistPath":"/opt/evohttpp/hls_grp_test_stream_54/playlist.m3u8","AESKeyCount":5,"playlistName":"playlist.m3u8","playlistType":"rolling","keepAlive":true,
"localStreamName":"test_stream_54","staleRetentionCount":10,"groupTargetFolder":"/opt/evohttpp/hls_grp_test_stream_54/","targetFolder":"/opt/evohttpp/hls_grp_test_stream_54/test_stream_54",
"chunkBaseName":"segment","bandwidth":128,"configId":1,"playlistLength":10,"operationType":3,"overwriteDestination":true,"cleanupDestination":false,"chunkOnIDR":true},"upTime":4190810.2581,
"queryTimestamp":1.369808777640287E12,"edgePid":0,"name":"test_stream_54","inStreamUniqueId":11,"creationTimestamp":1.369804586830029E12,"video":{"bytesCount":159747932,"droppedPacketsCount":0,"codecNumeric":6217274493967007744,"packetsCount":131337,"codec":"VH264","droppedBytesCount":0}}
We got this kind of 5 records for “test_stream_54” stream with type of “OFHLS” ("type":"OFHLS") and uniqueId as follows,
"uniqueId":17, "uniqueId":18, "uniqueId":19, "uniqueId":20, "uniqueId":21
Therefore we are unable to understand on which stream with which unqueid should use to invoke shutdownStream command to stop recording without get stream removed.
As per “API Definition” document, removeConfig command will both stop the stream and remove the corresponding configuration entry. This command is the same as performing: shutdownStream permanently=1, which we tried out previously.
Thank you
admin
This information box about the author only appears if the author has biographical information. Otherwise there is not author box shown. Follow YOOtheme on Twitter or read the blog.