Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Remoting

Remoting

Scheduled Pinned Locked Moved C#
sysadminjsonhelptutorialquestion
20 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Christian Graus

    amaankhan wrote:

    for these does we need serialization ?

    I have no idea why you keep refering to serialization because it has nothing to do with anything you are discussing. I am saying, if you're on a LAN, then the files can be on a folder that all the students can view. So you send a file path through your remoting connection, and then connect to the file, or copy the file from the central location, just with a File.Copy command.

    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

    A Offline
    A Offline
    amaankhan
    wrote on last edited by
    #11

    i want the file which the instructor is playing on the server should be played on the students system automatically

    1 Reply Last reply
    0
    • C Christian Graus

      amaankhan wrote:

      for these does we need serialization ?

      I have no idea why you keep refering to serialization because it has nothing to do with anything you are discussing. I am saying, if you're on a LAN, then the files can be on a folder that all the students can view. So you send a file path through your remoting connection, and then connect to the file, or copy the file from the central location, just with a File.Copy command.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #12

      I think I'd want to do a test first, just playing the video on 25 machines simulaneously. At about 640*350 resolution, you will be streaming about 3Mbyte of data per second from the same server - with network overhead etc, you may get stuttering, especially if you are not on a dedicated or fastish network.

      No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      T 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        I think I'd want to do a test first, just playing the video on 25 machines simulaneously. At about 640*350 resolution, you will be streaming about 3Mbyte of data per second from the same server - with network overhead etc, you may get stuttering, especially if you are not on a dedicated or fastish network.

        No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

        T Offline
        T Offline
        Tom Deketelaere
        wrote on last edited by
        #13

        CG did say to copy the file first to local drive that would resolve that issue (k it would create a burst at the start but once playing the only network traffic would be the instructions from the server)

        OriginalGriffO 1 Reply Last reply
        0
        • T Tom Deketelaere

          CG did say to copy the file first to local drive that would resolve that issue (k it would create a burst at the start but once playing the only network traffic would be the instructions from the server)

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #14

          He did, but then sugested a path they could all get at. If they are held locally then there is no problem, it's a relatively simple MediaPlayer and sockets problem. I just felt that if it was a single copy being read (which is obviously a whole lot easier for configuration and control purposes) then test it first!

          No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          T 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            He did, but then sugested a path they could all get at. If they are held locally then there is no problem, it's a relatively simple MediaPlayer and sockets problem. I just felt that if it was a single copy being read (which is obviously a whole lot easier for configuration and control purposes) then test it first!

            No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

            T Offline
            T Offline
            Tom Deketelaere
            wrote on last edited by
            #15

            You need the path to know from where to copy the file So server sends network path to video file to all clients, clients use this path to copy the video file from the server to there local drive. After that clients use the local copy of the video file to play it. (At least that's how I understood it)

            OriginalGriffO 1 Reply Last reply
            0
            • T Tom Deketelaere

              You need the path to know from where to copy the file So server sends network path to video file to all clients, clients use this path to copy the video file from the server to there local drive. After that clients use the local copy of the video file to play it. (At least that's how I understood it)

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #16

              If I was one of the poor sods on the course, that would annoy the hell out of me, particularly if I was paying with my own money: 1) Start training video 2) Wait a few minutes while we copy the file over the network. 3) Video starts. Copy them all to local HDD: no delay, no stutter, no problem. You can then control it in MediaPlayer (or whatever) via sockets so the trainee does not need to go anywhere near the video file itself. If the tutor is that paraniod, he can copy them ready in preparation for the days lesson.

              No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              T 1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                If I was one of the poor sods on the course, that would annoy the hell out of me, particularly if I was paying with my own money: 1) Start training video 2) Wait a few minutes while we copy the file over the network. 3) Video starts. Copy them all to local HDD: no delay, no stutter, no problem. You can then control it in MediaPlayer (or whatever) via sockets so the trainee does not need to go anywhere near the video file itself. If the tutor is that paraniod, he can copy them ready in preparation for the days lesson.

                No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                T Offline
                T Offline
                Tom Deketelaere
                wrote on last edited by
                #17

                Didn't say it wouldn't be annoying ;P I guess it depends on how large the files are. But even in your scenario the logic still holds, minus the copy part. And provided the tutor put the files all in the same location (something like c:\videos). I guess the best option here would be: Go buy a projector ;P

                OriginalGriffO X 2 Replies Last reply
                0
                • T Tom Deketelaere

                  Didn't say it wouldn't be annoying ;P I guess it depends on how large the files are. But even in your scenario the logic still holds, minus the copy part. And provided the tutor put the files all in the same location (something like c:\videos). I guess the best option here would be: Go buy a projector ;P

                  OriginalGriffO Offline
                  OriginalGriffO Offline
                  OriginalGriff
                  wrote on last edited by
                  #18

                  Tom Deketelaere wrote:

                  Go buy a projector

                  :laugh:

                  No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                  A 1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Tom Deketelaere wrote:

                    Go buy a projector

                    :laugh:

                    No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                    A Offline
                    A Offline
                    amaankhan
                    wrote on last edited by
                    #19

                    buy a projector............:thumbsdown: help me out its a wonderfull challenge to do

                    1 Reply Last reply
                    0
                    • T Tom Deketelaere

                      Didn't say it wouldn't be annoying ;P I guess it depends on how large the files are. But even in your scenario the logic still holds, minus the copy part. And provided the tutor put the files all in the same location (something like c:\videos). I guess the best option here would be: Go buy a projector ;P

                      X Offline
                      X Offline
                      Xmen Real
                      wrote on last edited by
                      #20

                      Tom Deketelaere wrote:

                      Go buy a projector

                      Damn, thats what I was gonna say. :laugh:

                      TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN% R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia>

                      ----------------------------------------------- 128 bit encrypted signature, crack if you can

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups