2 Replies Latest reply: Oct 13, 2012 11:13 AM by TheRossman RSS

    Video time and currentTime unsynced for dynamic stream

    Fredherro Community Member

      Using a DynamicStreamingResource with four mp4 rtmp streams is causing a problem.

       

      Sometimes when the streams is auto switched, the switch is seamless but the mediaplayer.currentTime starts reporting the wrong time (mostly about 50 seconds before the "actual time"). After scrubbing the currentTime seems to be returning a correct value again.

       

      When playing the streams seperatly the problem does not occur, so it seems that it's got something to do with the swithing.

       

      Is it a bug in OSMF? In Flash? Or  does it have something to do with the keyframes in video files?

        • 1. Re: Video time and currentTime unsynced for dynamic stream
          Silviu Vergoti Adobe Employee

          Hi,

           

          please check if the streams have sync'ed keyframes.

           

          Otherwise, please provide an example stream to replicate the problem.

           

          Thanks,

           

          S.

          • 2. Re: Video time and currentTime unsynced for dynamic stream
            TheRossman Community Member

            I am getting this exact same behaviour all of a sudden with MBR streams served out of Akamai.  If I move the streams to Amazon Cloudfront they work fine.  I think this is an issue with FMS 4.5 as Cloudfront is still on FMS3.5 but Akamai has upgraded.

             

            I can provide test streams.  I did some detailed player logging, see below:

             

              player init
              loading release

              release loaded

              playing ad

              ad complete

              playing ad

              ad complete

              adding the stream: mp4:videolink/Bones_E804_low_16x9.mp4 @ 625

              adding the stream: mp4:videolink/Bones_E804_lowest_16x9.mp4 @ 429

              adding the stream: mp4:videolink/Bones_E804_medium_16x9.mp4 @ 820

              adding the stream: mp4:videolink/Bones_E804_high_16x9.mp4 @ 1210

              conviva title: Bones - S08E04 The Tiger in the Tale

              starting main content

              2-Second Heartbeat: 0

              stream switching? false, current stream index: 0, current time is: 0

              2-Second Heartbeat: 0

              2-Second Heartbeat: 0.901

              2-Second Heartbeat: 2.894

              2-Second Heartbeat: 4.903

              stream switching? true, current stream index: 0, current time is: 4.997

              2-Second Heartbeat: 6.899

              2-Second Heartbeat: 8.901

              2-Second Heartbeat: 10.902

              stream switching? false, current stream index: 3, current time is: 12.679

              2-Second Heartbeat: 12.896

              2-Second Heartbeat: 14.898

              2-Second Heartbeat: 16.904

              2-Second Heartbeat: 18.9

              2-Second Heartbeat: 20.893

              2-Second Heartbeat: 22.895

              2-Second Heartbeat: 24.892

              2-Second Heartbeat: 26.886

              2-Second Heartbeat: 28.856

              2-Second Heartbeat: 30.862

              2-Second Heartbeat: 32.86

              2-Second Heartbeat: 34.857

              2-Second Heartbeat: 36.858

              2-Second Heartbeat: 38.859

              2-Second Heartbeat: 40.848

              2-Second Heartbeat: 42.864

              2-Second Heartbeat: 44.861

              2-Second Heartbeat: 46.856

              2-Second Heartbeat: 48.855

              2-Second Heartbeat: 50.862

              2-Second Heartbeat: 52.858

              2-Second Heartbeat: 54.855

              2-Second Heartbeat: 56.859

              2-Second Heartbeat: 58.858

              2-Second Heartbeat: 60.77

              2-Second Heartbeat: 62.766

              2-Second Heartbeat: 64.77

              2-Second Heartbeat: 66.76

              2-Second Heartbeat: 68.75

              2-Second Heartbeat: 70.755

              2-Second Heartbeat: 72.751

              2-Second Heartbeat: 74.751

              2-Second Heartbeat: 76.744

              2-Second Heartbeat: 78.753

              2-Second Heartbeat: 80.75

              2-Second Heartbeat: 82.745

              2-Second Heartbeat: 84.753

              2-Second Heartbeat: 86.747

              2-Second Heartbeat: 88.747

              2-Second Heartbeat: 90.754

              2-Second Heartbeat: 92.746

              2-Second Heartbeat: 94.747

              2-Second Heartbeat: 96.75

              2-Second Heartbeat: 98.752

              2-Second Heartbeat: 100.755

              2-Second Heartbeat: 102.751

              2-Second Heartbeat: 104.751

              2-Second Heartbeat: 106.745

              2-Second Heartbeat: 108.753

              2-Second Heartbeat: 110.745

              2-Second Heartbeat: 112.742

              2-Second Heartbeat: 114.753

              2-Second Heartbeat: 116.75

              2-Second Heartbeat: 118.746

              2-Second Heartbeat: 120.755

              2-Second Heartbeat: 122.752

              2-Second Heartbeat: 124.747

              2-Second Heartbeat: 126.749

              2-Second Heartbeat: 128.75

              2-Second Heartbeat: 130.749

              2-Second Heartbeat: 132.753

              2-Second Heartbeat: 134.749

              2-Second Heartbeat: 136.74

              2-Second Heartbeat: 138.743

              2-Second Heartbeat: 140.738

              2-Second Heartbeat: 142.737

              2-Second Heartbeat: 144.744

              2-Second Heartbeat: 146.741

              2-Second Heartbeat: 148.738

              2-Second Heartbeat: 150.744

              2-Second Heartbeat: 152.741

              2-Second Heartbeat: 154.738

              2-Second Heartbeat: 156.743

              2-Second Heartbeat: 158.731

              2-Second Heartbeat: 160.728

              2-Second Heartbeat: 162.725

              2-Second Heartbeat: 164.732

              2-Second Heartbeat: 166.727

              2-Second Heartbeat: 168.726

              2-Second Heartbeat: 170.729

              2-Second Heartbeat: 172.731

              2-Second Heartbeat: 174.734

              2-Second Heartbeat: 176.723

              2-Second Heartbeat: 178.722

              2-Second Heartbeat: 180.719

              2-Second Heartbeat: 182.722

              2-Second Heartbeat: 184.719

              2-Second Heartbeat: 186.716

              2-Second Heartbeat: 188.719

              2-Second Heartbeat: 190.715

              2-Second Heartbeat: 192.717

              2-Second Heartbeat: 194.722

              2-Second Heartbeat: 196.719

              2-Second Heartbeat: 198.716

              2-Second Heartbeat: 200.723

              2-Second Heartbeat: 202.721

              2-Second Heartbeat: 204.713

              2-Second Heartbeat: 206.725

              2-Second Heartbeat: 208.723

              2-Second Heartbeat: 210.725

              2-Second Heartbeat: 212.722

              2-Second Heartbeat: 214.718

              2-Second Heartbeat: 216.716

              2-Second Heartbeat: 218.723

              2-Second Heartbeat: 220.718

              2-Second Heartbeat: 222.717

              2-Second Heartbeat: 224.723

              2-Second Heartbeat: 226.75

              2-Second Heartbeat: 228.789

              2-Second Heartbeat: 230.785

              2-Second Heartbeat: 232.772

              2-Second Heartbeat: 234.78

              2-Second Heartbeat: 236.776

              2-Second Heartbeat: 238.758

              2-Second Heartbeat: 240.77

              2-Second Heartbeat: 242.757

              2-Second Heartbeat: 244.754

              2-Second Heartbeat: 246.751

              2-Second Heartbeat: 248.757

              2-Second Heartbeat: 250.754

              2-Second Heartbeat: 252.758

              2-Second Heartbeat: 254.754

              2-Second Heartbeat: 256.748

              2-Second Heartbeat: 258.758

              2-Second Heartbeat: 260.788

              2-Second Heartbeat: 262.765

              2-Second Heartbeat: 264.772

              2-Second Heartbeat: 266.768

              2-Second Heartbeat: 268.754

              2-Second Heartbeat: 270.762

              2-Second Heartbeat: 272.757

              2-Second Heartbeat: 274.756

              2-Second Heartbeat: 276.753

              2-Second Heartbeat: 278.76

              2-Second Heartbeat: 280.754

              2-Second Heartbeat: 282.756

              2-Second Heartbeat: 284.75

              2-Second Heartbeat: 286.746

              2-Second Heartbeat: 288.751

              2-Second Heartbeat: 290.748

              2-Second Heartbeat: 292.739

              2-Second Heartbeat: 294.742

              2-Second Heartbeat: 296.739

              2-Second Heartbeat: 298.736

              2-Second Heartbeat: 300.733

              2-Second Heartbeat: 302.735

              2-Second Heartbeat: 304.737

              2-Second Heartbeat: 306.733

              2-Second Heartbeat: 308.73

              2-Second Heartbeat: 310.722

              2-Second Heartbeat: 312.72

              2-Second Heartbeat: 314.732

              2-Second Heartbeat: 316.727

              2-Second Heartbeat: 318.725

              2-Second Heartbeat: 320.732

              2-Second Heartbeat: 322.729

              2-Second Heartbeat: 324.723

              2-Second Heartbeat: 326.711

              2-Second Heartbeat: 328.618

              2-Second Heartbeat: 330.624

              2-Second Heartbeat: 332.621

              2-Second Heartbeat: 334.616

              2-Second Heartbeat: 336.611

              2-Second Heartbeat: 338.617

              2-Second Heartbeat: 340.621

              pause content - 341.084 secs

              playing ad

              172-Second Heartbeat: 341.084

              ad complete

              playing ad

              2-Second Heartbeat: 341.084

              82-Second Heartbeat: 341.084

              ad complete

              playing ad

              2-Second Heartbeat: 341.084

              162-Second Heartbeat: 341.084

              ad complete

              playing ad

              102-Second Heartbeat: 341.084

              ad complete

              resuming content - 341.084 secs

              2-Second Heartbeat: 342.858

              2-Second Heartbeat: 344.855

              stream switching? true, current stream index: 3, current time is: 345.041

              stream switching? true, current stream index: 3, current time is: 346.471

              2-Second Heartbeat: 346.855

              stream switching? true, current stream index: 3, current time is: 347.443

              2-Second Heartbeat: 348.86

              2-Second Heartbeat: 350.856

              stream switching? false, current stream index: 0, current time is: 400.863 
            // on this stream switch we have suddenly gone out of sync
              stream switching? false, current stream index: 0, current time is: 401.101

              2-Second Heartbeat: 402.345

              stream switching? false, current stream index: 0, current time is: 402.474

              2-Second Heartbeat: 404.351

              2-Second Heartbeat: 406.328

              2-Second Heartbeat: 408.325

              2-Second Heartbeat: 410.327

              2-Second Heartbeat: 412.326

              2-Second Heartbeat: 414.327

              2-Second Heartbeat: 416.33

              2-Second Heartbeat: 418.33

              2-Second Heartbeat: 420.326

              2-Second Heartbeat: 422.32

              2-Second Heartbeat: 424.332

              2-Second Heartbeat: 426.328

              2-Second Heartbeat: 428.324

              2-Second Heartbeat: 430.332

              2-Second Heartbeat: 432.327

              2-Second Heartbeat: 434.326

              2-Second Heartbeat: 436.329

              2-Second Heartbeat: 438.325

              2-Second Heartbeat: 440.332

              2-Second Heartbeat: 442.324

              2-Second Heartbeat: 444.327

              2-Second Heartbeat: 446.328

              2-Second Heartbeat: 448.317

              2-Second Heartbeat: 450.292

              2-Second Heartbeat: 452.287

              2-Second Heartbeat: 454.278

              2-Second Heartbeat: 456.291

              2-Second Heartbeat: 458.288

              2-Second Heartbeat: 460.292

              stream switching? true, current stream index: 0, current time is: 461.288

              2-Second Heartbeat: 462.29

              2-Second Heartbeat: 464.286

              2-Second Heartbeat: 466.293

              2-Second Heartbeat: 468.279

              2-Second Heartbeat: 470.276

              2-Second Heartbeat: 472.283

              2-Second Heartbeat: 474.28

              2-Second Heartbeat: 476.274

              2-Second Heartbeat: 478.274

              2-Second Heartbeat: 480.282

              stream switching? false, current stream index: 3, current time is: 481.199

              2-Second Heartbeat: 482.273

              2-Second Heartbeat: 484.276

              2-Second Heartbeat: 486.282

              2-Second Heartbeat: 488.277

              2-Second Heartbeat: 490.271

              2-Second Heartbeat: 492.273

              2-Second Heartbeat: 494.269

              2-Second Heartbeat: 496.267

              2-Second Heartbeat: 498.274

              2-Second Heartbeat: 500.271

              2-Second Heartbeat: 502.274

              2-Second Heartbeat: 504.252

              2-Second Heartbeat: 506.25

              2-Second Heartbeat: 508.235

              2-Second Heartbeat: 510.232

              2-Second Heartbeat: 512.235

              2-Second Heartbeat: 514.219

              2-Second Heartbeat: 516.196

              2-Second Heartbeat: 518.208

              2-Second Heartbeat: 520.228

              2-Second Heartbeat: 522.21

              2-Second Heartbeat: 524.199

              2-Second Heartbeat: 526.208

              2-Second Heartbeat: 528.219

              2-Second Heartbeat: 530.215

              2-Second Heartbeat: 532.21

              2-Second Heartbeat: 534.203

              2-Second Heartbeat: 536.189

              2-Second Heartbeat: 538.186

              2-Second Heartbeat: 540.176

              2-Second Heartbeat: 542.179

              2-Second Heartbeat: 544.185

              2-Second Heartbeat: 546.184

              2-Second Heartbeat: 548.169

              2-Second Heartbeat: 550.177

              2-Second Heartbeat: 552.176

              2-Second Heartbeat: 554.173

              2-Second Heartbeat: 556.17

              2-Second Heartbeat: 558.175

              2-Second Heartbeat: 560.172

              2-Second Heartbeat: 562.159

              2-Second Heartbeat: 564.166

              2-Second Heartbeat: 566.163

              2-Second Heartbeat: 568.159

              2-Second Heartbeat: 570.166

              2-Second Heartbeat: 572.162

              2-Second Heartbeat: 574.164

              2-Second Heartbeat: 576.164

              2-Second Heartbeat: 578.155

              2-Second Heartbeat: 580.155

              2-Second Heartbeat: 582.134

              2-Second Heartbeat: 584.145

              2-Second Heartbeat: 586.142

              2-Second Heartbeat: 588.147

              2-Second Heartbeat: 590.144

              2-Second Heartbeat: 592.139

              2-Second Heartbeat: 594.146

              2-Second Heartbeat: 596.143

              2-Second Heartbeat: 598.141

              2-Second Heartbeat: 600.147

              stream switching? true, current stream index: 3, current time is: 601.776

              2-Second Heartbeat: 602.14

              2-Second Heartbeat: 604.125

              2-Second Heartbeat: 606.127

              2-Second Heartbeat: 608.126

              2-Second Heartbeat: 610.113

              2-Second Heartbeat: 612.092

              2-Second Heartbeat: 614.082

              2-Second Heartbeat: 616.083

              2-Second Heartbeat: 617.968

              2-Second Heartbeat: 619.978

              2-Second Heartbeat: 621.975

              2-Second Heartbeat: 623.958

              2-Second Heartbeat: 625.969

              stream switching? false, current stream index: 2, current time is: 627.68

              2-Second Heartbeat: 627.965

              2-Second Heartbeat: 629.943

              2-Second Heartbeat: 631.939

              2-Second Heartbeat: 633.946

              2-Second Heartbeat: 635.942

              stream switching? true, current stream index: 2, current time is: 636.824

              2-Second Heartbeat: 637.937

              2-Second Heartbeat: 639.947

              2-Second Heartbeat: 641.945

              2-Second Heartbeat: 643.93

              2-Second Heartbeat: 645.937

              2-Second Heartbeat: 647.939

              2-Second Heartbeat: 649.96

              2-Second Heartbeat: 651.957

              2-Second Heartbeat: 653.954

              2-Second Heartbeat: 655.96

              stream switching? false, current stream index: 3, current time is: 657.824

              2-Second Heartbeat: 657.959

              2-Second Heartbeat: 659.941

              2-Second Heartbeat: 661.942

              2-Second Heartbeat: 663.946

              2-Second Heartbeat: 665.945

              2-Second Heartbeat: 667.936

              2-Second Heartbeat: 669.949

              2-Second Heartbeat: 671.943

              2-Second Heartbeat: 673.944

              2-Second Heartbeat: 675.951

              2-Second Heartbeat: 677.947

              2-Second Heartbeat: 679.943

              2-Second Heartbeat: 681.951

              2-Second Heartbeat: 683.948

              2-Second Heartbeat: 685.951

              2-Second Heartbeat: 687.944

              2-Second Heartbeat: 689.941

              2-Second Heartbeat: 691.938

              2-Second Heartbeat: 693.95

              2-Second Heartbeat: 695.947

              2-Second Heartbeat: 697.943

              2-Second Heartbeat: 699.939

              2-Second Heartbeat: 701.936

              2-Second Heartbeat: 703.934

              2-Second Heartbeat: 705.94

              2-Second Heartbeat: 707.938

              2-Second Heartbeat: 709.935

              2-Second Heartbeat: 711.928

              2-Second Heartbeat: 713.928

              2-Second Heartbeat: 715.925

              2-Second Heartbeat: 717.922

              2-Second Heartbeat: 719.914

              2-Second Heartbeat: 721.911

              2-Second Heartbeat: 723.912

              2-Second Heartbeat: 725.919

              2-Second Heartbeat: 727.917

              2-Second Heartbeat: 729.909

              2-Second Heartbeat: 731.92

              2-Second Heartbeat: 733.911

              2-Second Heartbeat: 735.921

              2-Second Heartbeat: 737.917

              2-Second Heartbeat: 739.913

              2-Second Heartbeat: 741.918

              2-Second Heartbeat: 743.918

              2-Second Heartbeat: 745.876

              2-Second Heartbeat: 747.875

              2-Second Heartbeat: 749.87

              2-Second Heartbeat: 751.879

              2-Second Heartbeat: 753.877

              2-Second Heartbeat: 755.873

              2-Second Heartbeat: 757.881

              2-Second Heartbeat: 759.875

              2-Second Heartbeat: 761.865

              2-Second Heartbeat: 763.872

              2-Second Heartbeat: 765.862

              2-Second Heartbeat: 767.872

              2-Second Heartbeat: 769.869

              2-Second Heartbeat: 771.865

              2-Second Heartbeat: 773.856

              2-Second Heartbeat: 775.86

              2-Second Heartbeat: 777.854

              2-Second Heartbeat: 779.854

              2-Second Heartbeat: 781.86

              2-Second Heartbeat: 783.856

              2-Second Heartbeat: 785.853

              2-Second Heartbeat: 787.861

              2-Second Heartbeat: 789.856

              2-Second Heartbeat: 791.855

              2-Second Heartbeat: 793.861

              2-Second Heartbeat: 795.854

              2-Second Heartbeat: 797.856

              2-Second Heartbeat: 799.853

              2-Second Heartbeat: 801.86

              2-Second Heartbeat: 803.856

              2-Second Heartbeat: 805.859

              2-Second Heartbeat: 807.857

              2-Second Heartbeat: 809.851

              2-Second Heartbeat: 811.861

              2-Second Heartbeat: 813.848

              2-Second Heartbeat: 815.839

              2-Second Heartbeat: 817.852

              2-Second Heartbeat: 819.849

              2-Second Heartbeat: 821.847

              2-Second Heartbeat: 823.841

              2-Second Heartbeat: 825.838

              2-Second Heartbeat: 827.838

              2-Second Heartbeat: 829.872

              2-Second Heartbeat: 831.871

              2-Second Heartbeat: 833.868

              2-Second Heartbeat: 835.874

              2-Second Heartbeat: 837.871

              2-Second Heartbeat: 839.868

              2-Second Heartbeat: 841.873

              2-Second Heartbeat: 843.872

              stream switching? true, current stream index: 3, current time is: 845.153

              2-Second Heartbeat: 845.87

              2-Second Heartbeat: 847.875

              2-Second Heartbeat: 849.864

              2-Second Heartbeat: 851.848

              2-Second Heartbeat: 853.856

              2-Second Heartbeat: 855.853

              2-Second Heartbeat: 857.85

              2-Second Heartbeat: 859.837

              pause content - 861.179 secs

              playing ad

              72-Second Heartbeat: 861.179

              stream switching? true, current stream index: 3, current time is: 861.179

              112-Second Heartbeat: 861.179

              ad complete

              playing ad

              2-Second Heartbeat: 861.179

              ad complete

              playing ad

              2-Second Heartbeat: 861.179

              142-Second Heartbeat: 861.179

              ad complete

              playing ad

              2-Second Heartbeat: 861.179

              32-Second Heartbeat: 861.179

              2-Second Heartbeat: 861.179

              132-Second Heartbeat: 861.179

              ad complete

              resuming content - 861.179 secs

              2-Second Heartbeat: 862.425

              stream switching? true, current stream index: 3, current time is: 862.733

              2-Second Heartbeat: 864.423

              stream switching? true, current stream index: 3, current time is: 865.101

              stream switching? true, current stream index: 3, current time is: 865.926

              2-Second Heartbeat: 866.419

              2-Second Heartbeat: 868.423

              stream switching? false, current stream index: 0, current time is: 920.908 
            // things come "back in sync" here, resulting in "skipped" content
              2-Second Heartbeat: 922.838

              stream switching? false, current stream index: 0, current time is: 924.18

              2-Second Heartbeat: 924.841

              2-Second Heartbeat: 926.836

              2-Second Heartbeat: 928.838