Skip to content

Instantly share code, notes, and snippets.

View JamesWCCheng's full-sized avatar

James Cheng JamesWCCheng

View GitHub Profile
6-20 17:52:57.155 20635 21824 E ExoPlayerImplInternal: Source error.
06-20 17:52:57.155 20635 21824 E ExoPlayerImplInternal: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 302
06-20 17:52:57.155 20635 21824 E ExoPlayerImplInternal: at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:211)
06-20 17:52:57.155 20635 21824 E ExoPlayerImplInternal: at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:123)
06-20 17:52:57.155 20635 21824 E ExoPlayerImplInternal: at com.google.android.exoplayer2.source.hls.HlsMediaChunk.loadMedia(HlsMediaChunk.java:251)
06-20 17:52:57.155 20635 21824 E ExoPlayerImplInternal: at com.google.android.exoplayer2.source.hls.HlsMediaChunk.load(HlsMediaChunk.java:200)
06-20 17:52:57.155 20635 21824 E ExoPlayerImplInternal: at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:295)
06-20 17:52:57.155 20635 21824 E ExoPlayerImplInternal: at
Leaked URLs:
https://s.youtube.com/api/stats/watchtime?ns=yt&el=detailpage&cpn=yZQOf9itK6Kxt6dY&docid=mq2mQRMZoQM&ver=2&cmt=4.297&plid=AAVQaW0q6B7fqHZk&ei=SOwnWcmuLcHc4gKD-pDABQ&fmt=244&fs=0&rt=5.427&of=EBbONdEXIKhrXefSuIxQoA&euri&lact=1344&cl=156902750&state=paused&vm=CAEQARgE&c=WEB&cver=1.20170523&cplayer=UNIPLAYER&cbr=Firefox&cbrver=55.0&cos=X11&final=1&hl=en_US&cr=TW&len=2630.701&afmt=251&idpj=-4&ldpj=-37&st=0&et=4.297
https://s.youtube.com/api/stats/watchtime?ns=yt&el=detailpage&cpn=yZQOf9itK6Kxt6dY&docid=mq2mQRMZoQM&ver=2&cmt=4.297&plid=AAVQaW0q6B7fqHZk&ei=SOwnWcmuLcHc4gKD-pDABQ&fmt=244&fs=0&rt=5.427&of=EBbONdEXIKhrXefSuIxQoA&euri&lact=1344&cl=156902750&state=paused&vm=CAEQARgE&c=WEB&cver=1.20170523&cplayer=UNIPLAYER&cbr=Firefox&cbrver=55.0&cos=X11&final=1&hl=en_US&cr=TW&len=2630.701&afmt=251&idpj=-4&ldpj=-37&st=0&et=4.297
https://www.youtube.com/watch?v=mq2mQRMZoQM
https://www.youtube.com/
https://www.youtube.com/watch?v=mq2mQRMZoQM
https://www.youtube.com/watch?v=mq2mQRMZoQM
https://www.
0:00.11 make: Entering directory '/home/james/Projects/gecko-mozilla_fennec/obj-arm-linux-androideabi'
0:00.13 make[1]: Entering directory '/home/james/Projects/gecko-mozilla_fennec/obj-arm-linux-androideabi/mobile/android/installer'
0:00.15 make[2]: Entering directory '/home/james/Projects/gecko-mozilla_fennec/obj-arm-linux-androideabi/mobile/android/installer'
0:00.15 make[3]: Entering directory '/home/james/Projects/gecko-mozilla_fennec/obj-arm-linux-androideabi/mobile/android/installer'
0:00.37 Warning: /home/james/Projects/gecko-mozilla_fennec/mobile/android/installer/package-manifest.in:61: Missing file(s): bin/libnssdbm3.so
0:00.40 Warning: /home/james/Projects/gecko-mozilla_fennec/mobile/android/installer/package-manifest.in:85: Missing file(s): bin/blocklist.xml
0:00.40 Warning: /home/james/Projects/gecko-mozilla_fennec/mobile/android/installer/package-manifest.in:92: Missing file(s): bin/components/components.manifest
0:00.41 Warning: /home/james/Projects/gecko-mozilla_fennec/mobile/android/
03-28 16:11:39.728 10208 10230 D Fuck : PTS = 59940000 , isKey = true, isEOS = false, buffer size = 315
03-28 16:11:39.732 10208 10230 D Fuck : PTS = 59961000 , isKey = true, isEOS = false, buffer size = 428
03-28 16:11:39.737 10208 10230 D Fuck : PTS = 59982000 , isKey = true, isEOS = false, buffer size = 482
03-28 16:11:39.745 10208 10230 D Fuck : PTS = 60004000 , isKey = true, isEOS = false, buffer size = 370
03-28 16:11:39.749 10208 10230 D Fuck : PTS = 60025000 , isKey = true, isEOS = false, buffer size = 427
03-28 16:11:39.751 10208 10230 D Fuck : PTS = 60046000 , isKey = true, isEOS = false, buffer size = 427
03-28 16:11:39.753 10208 10230 D Fuck : PTS = 60068000 , isKey = true, isEOS = false, buffer size = 426
03-28 16:11:39.755 10208 10230 D Fuck : PTS = 60089000 , isKey = true, isEOS = false, buffer size = 427
03-28 16:11:39.756 10208 10230 D Fuck : PTS = 60110000 , isKey = true, isEOS = false, buffer size = 427
03-28 16:11:39.757 10208 10230 D Fuck : PTS = 60132000 , i
03-28 15:58:42.868 8871 8965 D Fuck : PTS = 59940000 , isKey = true, isEOS = false, buffer size = 315
03-28 15:58:42.869 8871 8965 D Fuck : PTS = 59961000 , isKey = true, isEOS = false, buffer size = 428
03-28 15:58:42.869 8871 8965 D Fuck : PTS = 59982000 , isKey = true, isEOS = false, buffer size = 482
03-28 15:58:42.869 8871 8965 D Fuck : PTS = 60004000 , isKey = true, isEOS = false, buffer size = 370
03-28 15:58:42.869 8871 8965 D Fuck : PTS = 60025000 , isKey = true, isEOS = false, buffer size = 427
03-28 15:58:42.869 8871 8965 D Fuck : PTS = 60046000 , isKey = true, isEOS = false, buffer size = 427
03-28 15:58:42.869 8871 8965 D Fuck : PTS = 60068000 , isKey = true, isEOS = false, buffer size = 426
03-28 15:58:42.869 8871 8965 D Fuck : PTS = 60089000 , isKey = true, isEOS = false, buffer size = 427
03-28 15:58:42.869 8871 8965 D Fuck : PTS = 60110000 , isKey = true, isEOS = false, buffer size = 427
03-28 15:58:42.869 8871 8965 D Fuck : PTS = 60132000 , i
// Write Crypto information
java::sdk::CryptoInfo::LocalRef cryptoInfo = sample->CryptoInfo();
if (cryptoInfo) {
HLS_DEBUG("HLSTrackDemuxer", "Has Crypto Info");
writer->mCrypto.mValid = true;
int32_t mode = 0;
ok &= NS_SUCCEEDED(cryptoInfo->Mode(&mode));
writer->mCrypto.mMode = mode;
mozilla::jni::ByteArray::LocalRef ivData;
ok &= NS_SUCCEEDED(cryptoInfo->Iv(&ivData));
[[ -r ~/.bashrc ]] && . ~/.bashrc
12-23 13:41:33.521 24236 24236 V GeckoDynamicToolbarAnimator: Resetting touch sequence due to non-move
12-23 13:41:33.522 24236 24236 V GeckoDynamicToolbarAnimator: All fingers lifted, completing show
12-23 13:41:33.522 24236 24236 V GeckoDynamicToolbarAnimator: Requested toolbar animation to translation 0.0
12-23 13:41:33.522 24236 24236 V GeckoDynamicToolbarAnimator: Changing animation to immediate jump
12-23 13:41:33.526 24236 24258 I Gecko : void mozilla::AndroidBridge::HandleGeckoMessage(JSContext*, JS::HandleObject)
12-23 13:41:33.527 24236 24258 W GeckoEventDispatcher: No listeners for Gesture:CloseZoomedView in dispatchEvent
12-23 13:41:33.559 24236 24258 I Gecko : void mozilla::AndroidBridge::HandleGeckoMessage(JSContext*, JS::HandleObject)
12-23 13:41:33.665 24236 24255 W GeckoGlobalHistory: Rebuilding visited link set...
12-23 13:41:33.669 24236 24258 I GeckoConsole: No Period ID given for Period with start time 0, Assigning a default
12-23 13:41:33.846 24236 24258 I Gecko : [Main Thread]: D
diff --git a/mobile/android/base/java/org/mozilla/gecko/media/Codec.java b/mobile/android/base/java/org/mozilla/gecko/media/Codec.java
index 0f53c19..5e42968 100644
--- a/mobile/android/base/java/org/mozilla/gecko/media/Codec.java
+++ b/mobile/android/base/java/org/mozilla/gecko/media/Codec.java
@@ -203,6 +203,8 @@ import java.util.concurrent.ConcurrentLinkedQueue;
private volatile boolean mFlushing = false;
private SamplePool mSamplePool;
private Queue<Sample> mSentOutputs = new ConcurrentLinkedQueue<>();
+ // Value will be updated after configure called.
+ private volatile boolean mIsAdaptivePlaybackSupported = false;
Configure complete!
Be sure to run |mach build| to pick up any changes
0:25.16 /usr/bin/make -f client.mk -s
0:25.71 Adding client.mk options from /media/hdd/Projects/gecko-mozilla_fennec/mozconfig:
0:25.71 CONFIG_GUESS=arm-linux-androideabi
0:25.71 AUTOCLOBBER=1
0:25.71 MOZ_OBJDIR=/media/hdd/Projects/gecko-mozilla_fennec/obj-arm-linux-androideabi
0:25.71 OBJDIR=/media/hdd/Projects/gecko-mozilla_fennec/obj-arm-linux-androideabi
0:25.71 FOUND_MOZCONFIG=/media/hdd/Projects/gecko-mozilla_fennec/mozconfig
0:25.86 Elapsed: 0.00s; From dist/public: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.