Hidding stream publish name

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Hidding stream publish name

Alayn Gortazar
Hi again,

I'm trying to figure out, how can I publish a stream with a name and get the playback with another. So the final user doesn't know which the publish hash was.

Publish url: rtmp://example.com/myApp/publish_hash
Playback url: rtmp://example.com/myApp/playback_hash

I thought that maybe this could do the job:
        public IMessageInput getLiveProviderInput(IScope scope, String name, boolean needCreate)
                        String result = name;
                                result = "playback_hash";
                return super.getLiveProviderInput(scope, result, needCreate);

But looking at my result it obviously doesn't :(

Can anybody help me??
Alayn Gortazar