...
Access to stream for subscribers
...
Passing the key using WebSDK to play stream via WebRTC
To play stream via WebRTC stream access key should be passed as custom parameter to createSession
function
...
Parameter name should match to configuration setting, aclAuth
in this case aclAuth
case
Passing the key as connection parameter to play stream via RTMP
...
- edge1.flashphoner.com - server name
- aclAuth - parameter name as set in configuration
- test - stream name
Passing the key using Android SDK to play stream via WebRTC
To play stream via WebRTC in Android application, access key should be passed to Connection.setCustom
method while connection establishing
Code Block | ||||
---|---|---|---|---|
| ||||
private Session session;
private Connection connection;
...
connection = new Connection();
connection.setCustom("aclAuth", "key1");
session.connect(connection); |
Parameter name should match to configuration setting, aclAuth
in this case
Backward compatibility
CDN 2.2 is compatible to CDN 2.0 and 2.1, only streams with clean ACL (as just published) can be played.
...