开发者

How do i get the Stream name while using multiple Streaming?

开发者 https://www.devze.com 2023-03-12 06:36 出处:网络
I publish a live Stream from client to server. There are many clients (many Streams). Now I want to get the details of that Streaming. So I used Log fields.开发者_Python百科 That fields return some v

I publish a live Stream from client to server. There are many clients (many Streams).

Now I want to get the details of that Streaming. So I used Log fields.开发者_Python百科 That fields return some value but I didn't get the stream name. I use the wowza server for streaming.

for(String s : WMSLoggerIDs.FD_ALL) {
    System.out.println(s+":      "+WMSLoggerFactory.getGlobalLogValue(s));
} 


    public void play(IClient client, RequestFunction function, AMFDataList params)
        {
           System.out.println(getParamString(params, PARAM1)); 
        }

If You use the play function and passing these arguments ,you will get the Stream Name

0

精彩评论

暂无评论...
验证码 换一张
取 消