Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

Supported platforms


Adobe Flash

Windows

+

Mac OS

+

Linux

+

Operation flowchart


1. Flash Player connects to the server via the RTMP protocol and sends the publish command.

...

1. For this test we use the demo server at demo.flashphoner.com and the Flash Streaming web application in the Internet Explorer browser

...

Excerpt

Setting a server application while RTMP stream publishing

While publishing RTMP stream to WCS server, a server application can be set that will be used to backend server interaction. It can be done with parameter in stream URL:

Code Block
languagebash
themeRDark
rtmp://host:1935/live?appKey=key1/streamName

Where

  • host is WCS server;
  • key1 is application key on WCS server;
  • streamName is stream name to publish

By default, if application key parameter is not set, the standard application flashStreamingApp will be used.

Besides, an application can be explicitly specified as stream URL part. To do this, the following parameter in flashphoner.properties file should be set

Code Block
languagebash
themeRDark
rtmp_appkey_source=app

Then application key must be set in stream URL as

Code Block
languagebash
themeRDark
rtmp://host:1935/key1/streamName

In this case, live is also an application name, therefore when stream is published with URL

Code Block
languagebash
themeRDark
rtmp://host:1935/live/streamName

live application must be defined on WCS server.

...

Solution: change SDP setting for the streams published from Flash clients in file file flash_handler_publish.sdp to be audio only.

Code Block
languagebash
themeRDark
v=0
o=- 1988962254 1988962254 IN IP4 0.0.0.0
c=IN IP4 0.0.0.0
t=0 0
a=sdplang:en
m=audio 0 RTP/AVP 97 8 0
a=rtpmap:97 SPEEX/16000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=sendonly

...

Solution: switch Avoid Transcoding Alhorithm off on the server using the following parameter in flashphoner.properties file

Code Block
languagebash
themeRDark
disable_rtc_avoid_transcoding_alg=true

3. Parsing stream URL parameters does  does not work for streams published from Flash clients/