Skip navigation
Currently Being Moderated

Live video stream play permission on server-side

Jul 17, 2008 4:07 PM

I have a live video stream application one-to-many for example, and i want to send video only to few clients, not to all. Like:


application.onConnect = function(client, canSeeVideo) {
// canSeeVideo = boolean
if (!canSeeVideo) client.receiveVideo(false);

// and after this, can be swich to TRUE or FALSE ?

I only want to do restriction for Video, from server-side with FMS, or if can't be possible.. how can i put for example a black screen on video ? :) and after can be removed, etc...
  • Currently Being Moderated
    Jul 20, 2008 3:01 AM   in reply to phpized
    use Client.readAccess property in Server-side scripts.
    Mark as:
  • Currently Being Moderated
    Jul 20, 2008 10:08 PM   in reply to phpized
    readAccess refers to virtual directory maping which works for all streams also.
    for example:
    if there is a live stream named: abc/mystream

    then only those clients which have
    clients.readAccess = "/" (default settings for all clients)
    client.readAccess = "abc" (your custom setting)
    will be able to subscribe to that stream.. and any client with say

    client.readAccess = "foo;xyz" can access streamName prefixed with foo/ & xyz/ only...
    Mark as:
  • Currently Being Moderated
    Jul 23, 2008 8:32 AM   in reply to phpized
    I would like to know what is going wrong with my tries. I’ve been trying to do live stream with Flash Media Encoder 2.5, but i cant conect to the server with it. It ask’s about my Username end my Password, i put them right but doesn’t not work. Comes, there is no such user. But i’ve been putting the username from login of server and password fron the server… …Thank’s for now.
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points