Need to change rtmp alias "live" to another

remo

New Member
Hello Max.
How are you buddy ?

I want to change rtmp url alias live to differnt alias for pull stream so how to change alias in flashphoner ?

and one think that i want to use different push rtmp url instead of pull rtmp url like

if pull rtmp url like : rtmp://domain:1935/alias/stream1 and i want to use push url like rtmp://domain:1935/alias/stream2

video is same in stream1 and stream2 measn pull and push stream same but i want use different push rtmp streamname instead of pull rtmp streamname


I think you are understand my concern so please help me out of my concern.

Thank you
 

Max

Administrator
Staff member
Good day.
Please clarify: do you want to publish an RTMP stream to WCS using URL like rtmp://wcs:1935/alias/streamName?
If yes, you should do the following:
1. Enter to WCS CLI: Using and accessing command line
2. Add a new server application to use for RTMP streams publishing:
Code:
add app -m com.flashphoner.server.client.handler.wcs4.FlashStreamingHandler -c com.flashphoner.server.client.handler.wcs4.FlashStreamingCallbackHandler MyFlashStreamingApp alias "http://localhost:8081/apps/EchoApp"
add app-rest-method -a alias
3. Add the following parameter to flashphoner.properties file
Code:
rtmp_appkey_source=app
and restart WCS
 

remo

New Member
Thank you for your reply buddy

add app -m com.flashphoner.server.client.handler.wcs4.FlashStreamingHandler -c com.flashphoner.server.client.handler.wcs4.FlashStreamingCallbackHandler MyFlashStreamingApp alias "http://localhost:8081/apps/EchoApp"
add app-rest-method -a alias


hey max,
can you please tell me where can i change in this command if i use my own alias ?

if i want flash as a alias so where can i change in command ?

please help me out of this


Thank you
 

remo

New Member
Thank you for helping
okay great its working. and now can we push multiple alias rtmp like "live" & "flash" ?


please help me with this

Thank you
 

remo

New Member
Thank you for your reply max,

but in my another server when i run this alias change command its showing me this; "
Unable to negotiate with 127.0.0.1 port 2001: no matching host key type found. Their offer: ssh-rsa" now what i do for this ? cna you please suggest me for this concern ?


Thank you
 

Max

Administrator
Staff member
Unable to negotiate with 127.0.0.1 port 2001: no matching host key type found. Their offer: ssh-rsa" now what i do for this ? cna you please suggest me for this concern ?
Please open the file ~/.ssh/config:
Code:
nano ~/.ssh/config
and add the following to the file
Code:
Host 127.0.0.1
    HostkeyAlgorithms +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa
This should fix the issue.
 
Top